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

VERIFIED INVALID

Status

()

Core
HTML: Parser
VERIFIED INVALID
16 years ago
16 years ago

People

(Reporter: Vladimir Ermakov, Assigned: harishd)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
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.
(Reporter)

Comment 1

16 years ago
Created attachment 100439 [details]
testcase
That's not a valid way to escape quotes in HTML.  Use &quot;
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID
(Reporter)

Comment 3

16 years ago
sorry, verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.