Extra line break in field context?

29 views
Skip to first unread message

Jeff Heath

unread,
Mar 26, 2024, 5:38:52 AM3/26/24
to FLEx list
I have a FLEx database where an extra line break seems to be inserted in the etymology context. We want parentheses around the abbreviation of the etymology, but FLEx is putting an extra line break after the opening parentheses:

FLEx extra line break in etymology context.png

Any thoughts as to what could be wrong?
Jeff

Bart Eenkhoorn

unread,
Mar 26, 2024, 12:19:13 PM3/26/24
to 'Françoise Rose' via FLEx list
Hi Jeff,
My two cents is that at the lower level of the abbreviation (or somewhere), there is an \0A in there :

Bart
--
"FLEx list" messages are public. Only members can post.
flex_d...@sil.org
http://groups.google.com/group/flex-list.
---
You received this message because you are subscribed to the Google Groups "FLEx list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flex-list+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flex-list/b9ee54e2-0489-4b7b-b257-960cc0431825n%40googlegroups.com.

Virus-free.www.avast.com

Kevin Warfel

unread,
Mar 27, 2024, 8:47:58 AM3/27/24
to flex...@googlegroups.com
Hi Jeff,

Do either of the checked nodes under Etymologie (i.e., Langue Source, Abréviation) have the \0A Bart alluded to in the Before or After field? Or is there a 'new paragraph' checkbox on one of those? (Shooting from the hip here.)

Kevin

--

Jeff Heath

unread,
Mar 28, 2024, 3:34:05 AM3/28/24
to FLEx list
No, there are no \0A's in any context fields on any of the Etymology nodes, checked or unchecked. In fact, it seems to be just related to the "Before" context of the Etymology node. If I remove the open parenthesis there, I get:
FLEx-etymology2.png

But if I add "(" into the Before context, it displays as shown above, with the blank line after the parenthesis.

Oh wait! Understanding sets in... This is not actually the primary Dictionary Configuration that we have worked on in this project. There is a configuration that we set up for building an app and we defined a "ProjectDictionaryOverrides.css" to help us with formatting that configuration. I see now that there is a class defined in there that causes this problem:

FLEx-class.png

This then leads to a couple more questions:

1) Can you define CSS rules in the Overrides file that only apply to certain configurations? If we are adding rules for an app layout, we don't want to mess up other layouts!

2) Why does the "display:block" only apply on the etymology data, and not to the context "(" before it. (I imagine checking out the .xhtml export might answer that question...)

Thanks for your input,
Jeff
Reply all
Reply to author
Forward
0 new messages