Added handling of tag "naglowek_podrozdzial".
authorMarek Stępniowski <marek@stepniowski.com>
Fri, 5 Sep 2008 15:13:57 +0000 (17:13 +0200)
committerMarek Stępniowski <marek@stepniowski.com>
Fri, 5 Sep 2008 15:13:57 +0000 (17:13 +0200)
Fixed handling of tag "miejsce_czas".

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>