From d2b3bf76dc8846baa1a01545ffee24f3e4bc147c Mon Sep 17 00:00:00 2001 From: Martin de la Iglesia <iglesia@hab.de> Date: Thu, 18 Jul 2024 11:12:42 +0000 Subject: [PATCH] =?UTF-8?q?Leerzeile=20am=20Anfang=20von=20Abs=C3=A4tzen?= =?UTF-8?q?=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- transkription.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transkription.xsl b/transkription.xsl index 499610f..4e535b3 100644 --- a/transkription.xsl +++ b/transkription.xsl @@ -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))])"> -- GitLab