Closed Bug 245504 Opened 22 years ago Closed 22 years ago

disable-output-escaping attibute in <xsl:value-of disable-output-escaping="yes" select="element_with_HTML_tag"> have no effect

Categories

(Core :: XSLT, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 98168

People

(Reporter: dlavoie, Assigned: peterv)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.4) Gecko/20030624 Assigning ye sor no to the disable-output-escaping attibute in <xsl:value-of disable-output-escaping="yes" select="element_with_HTML_tag"> have no effect (same thing than whitout the attribute), so Mozilla browser "value-of" element_with_HTML_tag display tag instead of using it to format the rendering. Reproducible: Always Steps to Reproduce: 1.Just put some HTML tags between element tags in the XML source file <element_with_HTML_tag><u><i><b>Some text</b></i></u></element_with_HTML_tag> 2.Try to display the content of it in the XSL using <xsl:value-of disable-output-escaping="yes" select="element_with_HTML_tag"> Actual Results: It display <u><i><b>Some text</b></i></u> instead of Some text (with underscore, bold and italic) Expected Results: Display Some text (with underscore, bold and italic)
See bug 98168 (this one is probably a duplicate)....
*** This bug has been marked as a duplicate of 98168 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.