On Fri, 24 Jun 2016 11:32:04 -0400 Jorge Arellano Cid <jcid at dillo.org> wrote:
On Thu, Jun 23, 2016 at 05:57:05PM +0100, Nick Warne wrote:
On Wed, 22 Jun 2016 19:30:51 -0400 Jorge Arellano Cid <jcid at dillo.org> wrote:
Just as a quick and dirty patch so arstecnica, BBC and others may be read before I come with something more structured, you may try:
diff -r ca794cd4c182 src/html.cc --- a/src/html.cc Tue Jun 21 18:04:00 2016 -0400 +++ b/src/html.cc Wed Jun 22 19:30:15 2016 -0400 @@ -3735,6 +3735,8 @@ static void Html_stack_cleanup_at_open(D continue; // close } else if (!(Tags[ni].Flags & 1) && !(Tags[ti].Flags & 4)) { // Block element over a NON block container + if (ti == i_A && html->DocTypeVersion >= 5.0f) + break; continue; // close }
Thanks, that works fine.
Committed.
Thanks Jorge - just in time to view the BBC news site for the best news I have heard in over 50 years :) Nick -- Gosh that takes me back... or is it forward? That's the trouble with time travel, you never can tell." -- Doctor Who "Androids of Tara"