minor cleanup
[redakcja.git] / redakcja / static / xsl / wl2html_client.xsl
index c2aea5f..f5f4e04 100644 (file)
     </xsl:template>
 
     <xsl:template match="*">
     </xsl:template>
 
     <xsl:template match="*">
-        <span class="unknown-tag" x-node="{name()}">
+        <span>
+            <xsl:call-template name="standard-attributes">
+                <xsl:with-param name="extra-class">unknown-tag</xsl:with-param>
+            </xsl:call-template>
             <xsl:apply-templates select="child::node()">
                 <xsl:with-param name="mixed" select="true()" />
             </xsl:apply-templates>        
             <xsl:apply-templates select="child::node()">
                 <xsl:with-param name="mixed" select="true()" />
             </xsl:apply-templates>        
                 </xsl:apply-templates>
             </span>
     </xsl:template>
                 </xsl:apply-templates>
             </span>
     </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+
+    <xsl:template match="comment()">
+        <xsl:comment><xsl:value-of select="."/></xsl:comment>
+    </xsl:template>
+</xsl:stylesheet>