mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
Everywhere: Clean up AD-HOC and FIXME comments without colons
This commit is contained in:
parent
edccb92da7
commit
100f37995f
Notes:
github-actions[bot]
2025-11-14 08:18:37 +00:00
Author: https://github.com/Psychpsyo
Commit: 100f37995f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6810
27 changed files with 36 additions and 36 deletions
|
|
@ -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({});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue