diff --git a/transkription.xsl b/transkription.xsl index 29f0d3d0412a98ce61298b8f4a4b6efc8f69926d..40669b455edf748e14c28abc8ae8e49b7a31ae2c 100644 --- a/transkription.xsl +++ b/transkription.xsl @@ -434,7 +434,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(preceding-sibling::node()[1],'^\s*$'))][* 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::node()) = 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))])"> @@ -963,4 +963,4 @@ </span> </xsl:template> -</xsl:stylesheet> +</xsl:stylesheet> \ No newline at end of file