From aead2de59a76d08f2a990eb991c1600c355d7849 Mon Sep 17 00:00:00 2001 From: witekfl Date: Tue, 12 Jun 2012 14:31:55 +0200 Subject: [PATCH] Do not treat
  • specially and handle
  • . See test/ul_a_li.html. --- src/document/html/parser/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document/html/parser/parse.c b/src/document/html/parser/parse.c index 67d01710..026a1ed0 100644 --- a/src/document/html/parser/parse.c +++ b/src/document/html/parser/parse.c @@ -1055,7 +1055,7 @@ end_element(struct element_info *ei, /* If this was a non-pairable tag or an
  • ; perform no further * processing. */ - if (ei->type == ET_NON_PAIRABLE || ei->type == ET_LI) + if (ei->type == ET_NON_PAIRABLE /* || ei->type == ET_LI */) return html; /* Call the element's close handler. */