From c78eaaece79dc30c0ee16da6b15fd1a374054b26 Mon Sep 17 00:00:00 2001 From: Martin de la Iglesia <iglesia@hab.de> Date: Tue, 18 Mar 2025 16:45:12 +0000 Subject: [PATCH] Absatz bei Tabelle --- tei2xsl-fo.xsl | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/tei2xsl-fo.xsl b/tei2xsl-fo.xsl index 7294cea..8878a70 100644 --- a/tei2xsl-fo.xsl +++ b/tei2xsl-fo.xsl @@ -1051,16 +1051,9 @@ </xsl:template> <xsl:template match="tei:p[name(./*[1]) ne 'pb']" mode="step3"> - <xsl:choose> - <xsl:when test=".//tei:table"> - <xsl:apply-templates mode="step3"/> - </xsl:when> - <xsl:otherwise> - <fo:block space-before="1em"> - <xsl:apply-templates mode="step3"/> - </fo:block> - </xsl:otherwise> - </xsl:choose> + <fo:block space-before="1em"> + <xsl:apply-templates mode="step3"/> + </fo:block> </xsl:template> <xsl:template match="tei:table" mode="step3"> -- GitLab