Closed
Bug 306965
Opened 19 years ago
Closed 19 years ago
Passed HTML in XSL parameters not rendered
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: dublet, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.10) Gecko/20050727 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.10) Gecko/20050727 Firefox/1.0.6 When passing HTML in XSL template parameters, the HTML is not rendered properly, despite being escaped (does not even come into the DOM tree according to the DOM inspector). Other XSL parsers interpret it as HTML correctly. Reproducible: Always Steps to Reproduce: <xsl:template name="line"> <xsl:param name="test"/> <xsl:value-of disable-output-escaping="yes" select="$test"/> </xsl:template> <xsl:call-template name="line"> <xsl:with-param name="test">example html<![CDATA[<sup>with some superscript</sup>]]></xsl:with-param> </xsl:call-template> Actual Results: The sup element in this case, it passed on, unescaped, as should happen, but at rendering stage interpreted as just text. Expected Results: The HTML elements in the CDATA section should be rendered as proper DOM elements, as Internet Explorer and Sablotron XSLT Processor do, for example.
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 98168 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•