Fixes #2615
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 19 Mar 2013 12:11:23 +0000 (13:11 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 19 Mar 2013 12:11:23 +0000 (13:11 +0100)
Attributes of unrecognized tags were being lost
during xml to html translation.

redakcja/static/xsl/wl2html_client.xsl

index 4f64291..82a5ae0 100644 (file)
     </xsl:template>
 
     <xsl:template match="*">
-        <span class="unknown-tag" x-node="{name()}">
+        <span class="unknown-tag">
+            <xsl:call-template name="standard-attributes" />
             <xsl:apply-templates select="child::node()">
                 <xsl:with-param name="mixed" select="true()" />
             </xsl:apply-templates>