bugfix
[redakcja.git] / src / redakcja / static / xsl / wl2html_client.xsl
index 784acb7..f5a442b 100644 (file)
         <!-- Possible variants: -->
         <xsl:choose>
             <!-- Simple verse == not wers_ tags anywhere until the ending br -->
         <!-- Possible variants: -->
         <xsl:choose>
             <!-- Simple verse == not wers_ tags anywhere until the ending br -->
-            <xsl:when test="not($verse-content[starts-with(name(), 'wers_')])">
-                <p class="wers" x-node="wers" x-verse="true">
+            <xsl:when test="not($verse-content[starts-with(name(), 'wers')])">
+                <p class="wers" x-node="wers" x-verse="true" x-auto-node="true">
                 <xsl:apply-templates select="$verse-content[local-name(.) != 'br']">
                     <xsl:with-param name="mixed" select="true()" />
                 </xsl:apply-templates>
                 <xsl:apply-templates select="$verse-content[local-name(.) != 'br']">
                     <xsl:with-param name="mixed" select="true()" />
                 </xsl:apply-templates>
         </xsl:choose>
     </xsl:template>
 
         </xsl:choose>
     </xsl:template>
 
-    <xsl:template match="wers_cd|wers_akap|wers_wciety|wers_do_prawej">
+    <xsl:template match="wers_cd|wers_akap|wers_wciety|wers_do_prawej|wers">
         <xsl:param name="mixed" />
                <!-- <xsl:choose>
                <xsl:when test="ancestor::*[0]/self::strofa"> -->
         <xsl:param name="mixed" />
                <!-- <xsl:choose>
                <xsl:when test="ancestor::*[0]/self::strofa"> -->