1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Co-authored-by: Alexander Borisov <lex.borisov@gmail.com>
This commit is contained in:
Niels Dossche
2025-01-17 19:39:58 +01:00
parent a928b66447
commit d0981864eb

View File

@@ -113,12 +113,10 @@ lxb_html_tree_insertion_mode_foreign_content_anything_else(lxb_html_tree_t *tree
node = lxb_html_tree_current_node(tree);
if (token->tag_id == LXB_TAG_SCRIPT && node->ns == LXB_NS_SVG) {
lxb_html_tree_acknowledge_token_self_closing(tree, token);
return lxb_html_tree_insertion_mode_foreign_content_script_closed(tree, token);
}
else {
lxb_html_tree_open_elements_pop(tree);
lxb_html_tree_acknowledge_token_self_closing(tree, token);
}
return true;