Bringing back yellow background for a fragment wrapped by an unknown tag
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 22 Mar 2013 15:46:13 +0000 (16:46 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 22 Mar 2013 15:46:13 +0000 (16:46 +0100)
Yellow background was accidentally lost in c73940c1babe80cf7a6dd46854dca1543905ae7a

redakcja/static/xsl/wl2html_client.xsl

index 82a5ae0..f5f4e04 100644 (file)
     </xsl:template>
 
     <xsl:template match="*">
-        <span class="unknown-tag">
-            <xsl:call-template name="standard-attributes" />
+        <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>