Closed Bug 130124 Opened 23 years ago Closed 23 years ago

Parser does not ignore white space in img src tag between quotes

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 87894

People

(Reporter: vab_2, Assigned: harishd)

References

()

Details

When visiting a site that includes a line break or space between double quotes associated with an image source tag, the image will not display. Morningstar.com is one site that does this. Here is some example problem HTML from Morningstar.com: <img width="219" height="130" src=" http://im.morningstar.com/Graph/Growth4Year/USA_IUTIX.gif " /> When the white space between the quotes is removed by hand, the image displays: <img width="219" height="130" src="http://im.morningstar.com/Graph/Growth4Year/USA_IUTIX.gif" /> While it's probably not compliant HTML to have spaces between the quotes, I think mozilla should eliminate whitespace anyway, since the value between the quotes should be URL encoded (ie space -> %20 etc). This problem exists in Mozilla on windows as well.
Sounds like a dupe of bug 87894.
indeed *** This bug has been marked as a duplicate of 87894 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.