mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 12:25:09 +03:00
html: Fix bogus end tags
This commit is contained in:
parent
bca6485476
commit
24a09033c9
@ -3877,6 +3877,11 @@ htmlParseEndTag(htmlParserCtxtPtr ctxt)
|
||||
}
|
||||
SKIP(2);
|
||||
|
||||
if (!IS_ASCII_LETTER(CUR)) {
|
||||
htmlParseComment(ctxt, /* bogus */ 1);
|
||||
return(0);
|
||||
}
|
||||
|
||||
name = htmlParseHTMLName(ctxt, 0);
|
||||
if (name == NULL)
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user