Closed Bug 279195 Opened 20 years ago Closed 20 years ago

html entities are not exanded in textareas

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: allyn, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.7.3) Gecko/20041206
Build Identifier: mozilla 1.8a6

in mozilla 1.8a6, html entities like < and > are not "decoded" when inside
of <textarea>s.  this worked correctly for all earlier versions, including
1.7.5, 1.8a5, and firefox 1.0.

Reproducible: Always

Steps to Reproduce:
1. display this text in 1.8a6:
<html>
<head></head>
<body bgcolor=white>
<form name=f>
<textarea name=t rows=3 cols=80>&lt;a
href="http://xxxxxxxxxxxxxxxxxxxxx"&gt;&lt;img src="http://qqqqqqqqqqqqqq"
alt="" /&gt;&lt;/a&lt;</textarea></form>
</body>
</html>
Actual Results:  
displays in textarea like this:
&lt;a href="http://xxxxxxxxxxxxxxxxxxxxx"&gt;&lt;img src="http://qqqqqqqqqqqqqq"
alt="" /&gt;&lt;/a&lt;

Expected Results:  
should display like this with html entities "decoded" (as in all earlier versions):
<a href="http://xxxxxxxxxxxxxxxxxxxxx"><img src="http://qqqqqqqqqqqqqq" alt=""
/></a>
Attached file reporters testcase
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b) Gecko/20050120
Marking WFM based on comment 1 and my own testing.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
thanks, although it was broken in the 1.8a6 release for windows, i just
downloaded the latest nightly and this does seem to be fixed (i should have done
that before submitting). sorry for wasting your time.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: