mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Cherry-pick lexbor/lexbor@ae97abfb
Co-authored-by: Alexander Borisov <lex.borisov@gmail.com>
This commit is contained in:
@@ -333,7 +333,7 @@ lxb_html_tree_acknowledge_token_self_closing(lxb_html_tree_t *tree,
|
||||
|
||||
bool is_void = lxb_html_tag_is_void(token->tag_id);
|
||||
|
||||
if (is_void) {
|
||||
if (!is_void) {
|
||||
lxb_html_tree_parse_error(tree, token,
|
||||
LXB_HTML_RULES_ERROR_NOVOHTELSTTAWITRSO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user