Closed Bug 402465 Opened 17 years ago Closed 17 years ago

Firefox ignores disable-output-escaping

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 98168

People

(Reporter: art, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 Internal XSLT processor ignores disable-output-escaping XSLT attribute. Reproducible: Always
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
This bug still persists on Mozilla Firefox 2.0.0.10 (running on Windows XP). The tag <xsl:value-of disable-output-escaping="yes" .../> does not work as hoped. Test sample: XML: simple1.xml -------------------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="simple1.xsl"?> <main> <value><p>ab<b>ac</b>o</p></value> <value><![CDATA[<p>ab<b>ac</b>o</p>]]></value> <value>&lt;p&gt;ab&lt;b&gt;ac&lt;/b&gt;o&lt;/p&gt;</value> </main> -------------------------------- XSL: simple1.xsl -------------------------------- <?xml version='1.0' encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="main"> <html> <head> <title>Transformation test</title> </head> <body bgcolor="#FFFFFF"> <xsl:apply-templates select="value"/> </body> </html> </xsl:template> <xsl:template match="value"> <xsl:value-of select="." disable-output-escaping="yes"/><br/> </xsl:template> </xsl:stylesheet> -------------------------------- The transformation differs from Internet Explorer.
You need to log in before you can comment on or make changes to this bug.