Hello,
The whitespaces including line breaks are normalized when the XML
document is rendered in the Author mode. That means the line breaks
between <orig>E</orig> and <reg>e</reg>, between <reg>e</reg> and
</choice>, etc are replaced with a space character. If the Author mode
removes them without replacing them with a space character then the new
XML document is not the normalized version of the old one.
The only way to display "Der Eerwirdigen" in the Author mode is to
remove the whitespaces yourself from the XML document before switching
to the Author mode:
<p>
Der
<choice>
<orig>E</orig><reg>e</reg></choice>rwirdigen in
<choice>
...
Regards,
Sorin
Philipp Steinkrüger wrote:
Hello!
i am having a problem with white-spaces in Author mode. Here is what my
XML document looks like at the problematic passage:
<p>
Der
<choice>
<orig>E</orig>
<reg>e</reg>
</choice>
rwirdigen in
<choice>
<orig>G</orig>
<reg>g</reg>
</choice>
</p>
Now in Author mode, the linebreaks are transformed into whitespace, so
that the first part looks like "Der E e rwirdigen in" etc. But i would
like to have it look like "Der Eerwirdigen" etc. <p> has the display
property: block, <choice>, <orig> and <reg> have display property inline,
and i think that exactly is the problem, because the manual says that if
the display-property is inline, non-whitespace (which my linebreak is, i
suppose) are transformed into normal white space.
Is there any way to have oxygen ignore the linebreak?
Thank you very much,
Philipp
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user