Skip to content
Snippets Groups Projects
Commit d2b3bf76 authored by Martin de la Iglesia's avatar Martin de la Iglesia
Browse files

Leerzeile am Anfang von Absätzen entfernt

parent 515174e7
No related branches found
No related tags found
No related merge requests found
......@@ -431,7 +431,7 @@
</span>
</xsl:template>
<xsl:template match="lb[not(name(preceding-sibling::node()[1]) = 'pb')][not(parent::p and count(preceding-sibling::node()) = 0)][* or matches(., '\w') or not(@xml:id)]" mode="step3">
<xsl:template match="lb[not(name(preceding-sibling::node()[1]) = 'pb')][not(parent::p and count(preceding-sibling::*) = 0)][* or matches(., '\w') or not(@xml:id)]" mode="step3">
<!-- Letztere Klammer verhindert, dass 2 Zeilenumbrüche hintereinander stehen. -->
<xsl:choose>
<xsl:when test="not(parent::p/*[1][self::lb][not(* or matches(., '\w') or not(@xml:id))])">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment