fixes #2356: set User-Agent
[librarian.git] / librarian / fb2 / poems.xslt
index a9ef901..d276ebf 100644 (file)
        <!-- poems -->
 
        <!-- match poem citations -->
        <!-- poems -->
 
        <!-- match poem citations -->
-       <xsl:template mode="paras" match="poezja_cyt">
+       <xsl:template mode="para" match="poezja_cyt">
                <cite>
                        <poem>
                <cite>
                        <poem>
-                               <xsl:apply-templates mode="poem"/>
+                               <xsl:apply-templates mode="para"/>
                        </poem>
                </cite>
        </xsl:template>
                        </poem>
                </cite>
        </xsl:template>
-       <!-- / XXX: fb2 doesn't allow <poem/> inside <p/> /
-       <xsl:template mode="inline" match="poezja_cyt">
-
-               <poem>
-                       <xsl:apply-templates mode="poem"/>
-               </poem>
-       </xsl:template>
-       -->
 
        <!-- regular poem elements -->
 
        <!-- regular poem elements -->
-       <xsl:template mode="poem" match="strofa">
+       <xsl:template mode="para" match="strofa">
                <stanza>
                        <xsl:call-template name="split-poem">
                                <xsl:with-param name="list" select="."/>
                <stanza>
                        <xsl:call-template name="split-poem">
                                <xsl:with-param name="list" select="."/>