<!--
This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
- Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+ Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:apply-templates mode="inline" />
</xsl:template>
-<xsl:template match="akap|akap_dialog|akap_cd">
+<xsl:template match="akap|akap_dialog|akap_cd|werset">
<xsl:variable name="content">
<xsl:apply-templates select="*|text()" mode="inline" />
</xsl:variable>
<xsl:value-of select="wl:wrap_words(wl:strip($content), $wrapping)" />
</xsl:template>
+<xsl:template match="list">
+<xsl:text>
+
+
+</xsl:text>
+<xsl:apply-templates />
+<xsl:text>
+
+
+</xsl:text>
+</xsl:template>
+<xsl:template match="adesat">
+ <xsl:text>
+ </xsl:text>
+ <xsl:apply-templates select="*|text()" mode="inline" />
+ <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="miejsce_data">
+ <xsl:text>
+ </xsl:text>
+ <xsl:apply-templates select="*|text()" mode="inline" />
+ <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="naglowek_listu">
+ <xsl:text>
+
+ </xsl:text>
+ <xsl:apply-templates select="*|text()" mode="inline" />
+ <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="pozdrowienie">
+ <xsl:text>
+ </xsl:text>
+ <xsl:apply-templates select="*|text()" mode="inline" />
+ <xsl:text>
+</xsl:text>
+</xsl:template>
+<xsl:template match="podpis">
+ <xsl:text>
+ </xsl:text>
+ <xsl:apply-templates select="*|text()" mode="inline" />
+ <xsl:text>
+</xsl:text>
+</xsl:template>
+
<xsl:template match="strofa">
<xsl:text>
</xsl:text>
<!-- = (contain other inline tags and special tags) = -->
<!-- ================================================ -->
<!-- Annotations -->
-<xsl:template match="pa|pe|pr|pt" mode="inline" />
+<xsl:template match="pa|pe|pr|pt|ptrad" mode="inline" />
<!-- Other inline tags -->
<xsl:template match="mat" mode="inline"><xsl:apply-templates mode="inline" /></xsl:template>