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. -- Cheers Jorge.-