Closed Bug 170570 Opened 22 years ago Closed 22 years ago

Problems with nested quotes when part of an attribute that contains html

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: vladimire, Assigned: harishd)

Details

Attachments

(1 file)

The following line of code is not parsed properly:
   <INPUT type="input" value="<A href=\"about:blank\"\>">

It should output a text field with a value <A href="about:blank">, but instead
it only outputs <A href=\ in the text field, and "> after the text field.
Obviously this is not the desired behaviour. The quotes are escaped, and should
be read in as  part of the text value, no part of the code.
Attached file testcase
That's not a valid way to escape quotes in HTML.  Use &quot;
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
sorry, verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: