From f82200ffd26574fd50adc35bccec9219575318e3 Mon Sep 17 00:00:00 2001
From: Martin de la Iglesia <iglesia@hab.de>
Date: Tue, 18 Mar 2025 16:44:46 +0000
Subject: [PATCH] Absatz bei Tabelle

---
 transkription.xsl | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

diff --git a/transkription.xsl b/transkription.xsl
index cb1f623..afcb706 100644
--- a/transkription.xsl
+++ b/transkription.xsl
@@ -416,22 +416,14 @@
     </xsl:template>
     
     <xsl:template match="p[name(./*[1]) ne 'pb']" mode="step3">
-        <xsl:choose>
-            <xsl:when test=".//table">
-                <xsl:apply-templates mode="step3"/>
-            </xsl:when>
-            <xsl:otherwise>
-                <div xmlns="http://www.w3.org/1999/xhtml" class="p">
-                    
-                    <xsl:if test="*[1][local-name() = 'lb']/@xml:id">
-                        <xsl:attribute name="id" select="*[1][local-name() = 'lb']/@xml:id"/>
-                    </xsl:if>
-                    
-                    <xsl:apply-templates mode="step3"/>
-                </div>
-            </xsl:otherwise>
+        <div xmlns="http://www.w3.org/1999/xhtml" class="p">
             
-        </xsl:choose>
+            <xsl:if test="*[1][local-name() = 'lb']/@xml:id">
+                <xsl:attribute name="id" select="*[1][local-name() = 'lb']/@xml:id"/>
+            </xsl:if>
+            
+            <xsl:apply-templates mode="step3"/>
+        </div>
     </xsl:template>
     
     <xsl:template match="reg" mode="step3">
-- 
GitLab