[patch] HTML parser bugfix
June 3, 2012
8:29 p.m.
The following HTML fragment is shown as BUG<">abc by Dillo. It is valid (checked with validator.w3.org) HTML. In Firefox it is shown as abc with '>BUG<' tooltip. <div title=">BUG<">abc</div> What happens is that Dillo see < character inside quotes, shows bug "attribute lacks closing quote" and breaks out of tag parsing loop. In fact it is not possible to say if there is a bug in HTML at that point. In WWW you can see this bug on http://reddit.com. Each entry on this page contains votehash', null, event)" > and bug meter shows bugs for them. Attached patch removes logic that tries to detect unterminated quoted attributes and fixes this bug.
5284
Age (days ago)
5293
Last active (days ago)
8 comments
4 participants
participants (4)
-
jcid@dillo.org -
Johannes.Hofmann@gmx.de -
onepoint@starurchin.org -
p37sitdu@lavabit.com