From 3bd5550d810dc1d9a95004d85c0beaa69fb42fff Mon Sep 17 00:00:00 2001
From: Martin de la Iglesia <iglesia@hab.de>
Date: Thu, 10 Oct 2024 13:30:51 +0000
Subject: [PATCH] =?UTF-8?q?Zeilenumbr=C3=BCche=20verbessert?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tei2xsl-fo.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tei2xsl-fo.xsl b/tei2xsl-fo.xsl
index dad7639..96d3e3d 100644
--- a/tei2xsl-fo.xsl
+++ b/tei2xsl-fo.xsl
@@ -938,7 +938,7 @@
         </fo:inline>
     </xsl:template>
     
-    <xsl:template match="tei:lb[not(local-name(preceding-sibling::node()[1]) = 'pb')][not(parent::tei:p and (count(preceding-sibling::node()) = 0) or matches(preceding-sibling::node()[1],'^\s*$'))]" mode="step3">
+    <xsl:template match="tei:lb[not(local-name(preceding-sibling::node()[1]) = 'pb')][not(parent::tei:p and (count(preceding-sibling::node()) = 0))]" mode="step3">
         <xsl:text>&#xA;</xsl:text>
         <xsl:apply-templates mode="step3"/>
     </xsl:template>
-- 
GitLab