X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/dad2926396c3d80ad59421afab6b0d819c288cf8..3ccf86c161ddbc4f33423f1882d3604e19ed4c15:/redakcja/static/xsl/wl2html_client.xsl

diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl
index c2aea5fd..f5f4e04d 100644
--- a/redakcja/static/xsl/wl2html_client.xsl
+++ b/redakcja/static/xsl/wl2html_client.xsl
@@ -782,7 +782,10 @@
     </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>        
@@ -833,4 +836,8 @@
                 </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>