mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-11 21:41:53 +03:00
html: Improve parsing of nested lists
Allow ul/ol as immediate children of ul/ol. This is more in line with the HTML5 spec. Fixes #447.
This commit is contained in:
@ -1222,7 +1222,6 @@ static const htmlStartCloseEntry htmlStartClose[] = {
|
||||
{ "menu", "form" },
|
||||
{ "menu", "ul" },
|
||||
{ "ol", "form" },
|
||||
{ "ol", "ul" },
|
||||
{ "option", "optgroup" },
|
||||
{ "option", "option" },
|
||||
{ "p", "address" },
|
||||
@ -1306,7 +1305,6 @@ static const htmlStartCloseEntry htmlStartClose[] = {
|
||||
{ "ul", "address" },
|
||||
{ "ul", "form" },
|
||||
{ "ul", "menu" },
|
||||
{ "ul", "ol" },
|
||||
{ "ul", "pre" },
|
||||
{ "xmp", "dd" },
|
||||
{ "xmp", "dl" },
|
||||
|
Reference in New Issue
Block a user