mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Everywhere: Clean up AD-HOC and FIXME comments without colons
This commit is contained in:
committed by
Ali Mohammad Pur
parent
edccb92da7
commit
100f37995f
Notes:
github-actions[bot]
2025-11-14 08:18:37 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/100f37995fd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6810
@@ -4754,7 +4754,7 @@ void HTMLParser::process_using_the_rules_for_foreign_content(HTMLToken& token)
|
||||
// Insert a foreign element for the token, with the adjusted current node's namespace and false.
|
||||
(void)insert_foreign_element(token, adjusted_current_node()->namespace_uri(), OnlyAddToElementStack::No);
|
||||
|
||||
// AD-HOC we don't want to execute script elements just by adding data to it
|
||||
// AD-HOC: we don't want to execute script elements just by adding data to it
|
||||
if (token.tag_name() == SVG::TagNames::script && current_node()->namespace_uri() == Namespace::SVG) {
|
||||
auto& script_element = as<SVG::SVGScriptElement>(*current_node());
|
||||
script_element.set_parser_inserted({});
|
||||
|
||||
Reference in New Issue
Block a user