From: Marek Stępniowski <marek@stepniowski.com> Date: Fri, 5 Sep 2008 15:13:57 +0000 (+0200) Subject: Added handling of tag "naglowek_podrozdzial". X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/d8609eec1d48b2a66fe2a043c5348c50edd27c1d?hp=7cc8b95ca00f23d96e631fb7425fd2e7da5feae0 Added handling of tag "naglowek_podrozdzial". Fixed handling of tag "miejsce_czas". --- diff --git a/lib/librarian/book2html.xslt b/lib/librarian/book2html.xslt index 6694c7b9a..a83cc0c06 100644 --- a/lib/librarian/book2html.xslt +++ b/lib/librarian/book2html.xslt @@ -80,6 +80,9 @@ <div class="dedication"><xsl:apply-templates /></div> </xsl:template> +<!-- =================== --> +<!-- = Section headers = --> +<!-- =================== --> <xsl:template match="naglowek_akt|naglowek_czesc|srodtytul"> <h2><xsl:apply-templates mode="inline" /></h2> </xsl:template> @@ -88,11 +91,11 @@ <h3><xsl:apply-templates mode="inline" /></h3> </xsl:template> -<xsl:template match="naglowek_osoba"> +<xsl:template match="naglowek_osoba|naglowek_podrozdzial"> <h4><xsl:apply-templates mode="inline" /></h4> </xsl:template> -<xsl:template match="naglowek_osoba"> +<xsl:template match="miejsce_czas"> <p class="place-and-time"><xsl:apply-templates mode="inline" /></p> </xsl:template>