Added "verse" class to verses in book2html conversion.
[wolnelektury.git] / lib / librarian / book2html.xslt
index aa9aa0f..7e6a2ef 100644 (file)
 <xsl:template name="verse">
     <xsl:param name="line-content" />
     <xsl:param name="line-number" />
-    <p>
+    <p class="verse">
         <xsl:choose>
             <xsl:when test="name($line-content) = 'wers_akap'">
                 <xsl:attribute name="style">padding-left: 1em</xsl:attribute>
     <hr class="spacer" />
 </xsl:template>
 
+<xsl:template match="sekcja_asterysk">
+    <p class="spacer-asterisk">*</p>
+</xsl:template>
+
+<xsl:template match="separator_linia">
+    <hr class="spacer-line" />
+</xsl:template>
+
 
 <!-- ================ -->
 <!-- = SPECIAL TAGS = -->