Author view adds white-space unintended
Posted: Mon Jul 28, 2014 5:27 pm
Hi,
I've a problem with white-space handling in Oxygen XML Author. If you have this XML (Snippet, of course):
And this CSS:
results this in this author view (Oxygen 15.2 and 16):
Note, that there is a unintended white-space before the italic text at the beginning of each "Stufe0" tag (tag "Kursivtext" in the xml).
Do you habe a hint, how I could fix it? With
in CSS on "Stufe0" the leading whitespace disappears - but many others problems come up (unintended line breaks etc.).
Thx for every help!
Stefan
I've a problem with white-space handling in Oxygen XML Author. If you have this XML (Snippet, of course):
Code: Select all
<Stufe0 id="W00000153">
<Inhalt>
<Kursivtext>Wakermann</Kursivtext> s. <ref ziel="W00000033">Wackermann</ref>
</Inhalt>
</Stufe0>
<Stufe0 id="W00000154">
<Inhalt>Wakin Jakob, Mautner zu St. Veit am Pflaum <Regestennummer>#0-4959</Regestennummer>
</Inhalt>
</Stufe0>
Code: Select all
Stufe0 {
display: block;
margin: 0.5em 0 0.5em 0;
padding: 0.5em 0 0.5em 0;
border-bottom: 1px solid silver;
}
Inhalt {
display: inline;
-oxy-placeholder-content: "[Hier Text eingeben]";
-oxy-display-tags: none;
}
Kursivtext {
font-style: italic;
-oxy-display-tags: none;
}
Note, that there is a unintended white-space before the italic text at the beginning of each "Stufe0" tag (tag "Kursivtext" in the xml).
Do you habe a hint, how I could fix it? With
Code: Select all
white-space: -oxy-trim-when-ws-only;
Thx for every help!
Stefan