Closed Bug 292882 Opened 20 years ago Closed 20 years ago

Parsing error on element attribute values

Categories

(Core :: DOM: HTML Parser, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 154120

People

(Reporter: spexius, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

<a href=  "  a">  is shown in the "View->Page Source"-window as <a href="   
a">. I don't know if the parser is doing this wrong already or if it is just the
Page Source viewer which does the malforming of the attribure values. Checked on
older and newer Firefox versions on Linux and different Windows platforms and
seems to "work" on all of them (don't have a Mac to test it there, too).

Reproducible: Always

Steps to Reproduce:
See details / page at the given URL (use wget or netcat to get the real source code)


Actual Results:  
See details.

Expected Results:  
<a href=  "  a"> to refer to the example mentioned in the details :-)
(or at least <a href="  a">)

No crash, no stacktrace etc.pp.
We actually do parse the attributes correctly, however, the quote was getting
inserted in the wrong place. This has already been fixed on the trunk, and will
be fixed for Firefox 1.1.

*** This bug has been marked as a duplicate of 154120 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.