Added handling of tag "naglowek_podrozdzial".
[wolnelektury.git] / lib / librarian / book2html.xslt
index 6694c7b..a83cc0c 100644 (file)
@@ -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>
     <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>