10000 [HtmlSanitizer][FrameworkBundle] Fix calling `allowStaticElements` wh… · symfony/symfony@a2d4fde · GitHub
[go: up one dir, main page]

Skip to content

Commit a2d4fde

Browse files
committed
[HtmlSanitizer][FrameworkBundle] Fix calling allowStaticElements when setting allow_all_static_elements: true
1 parent 786e71c commit a2d4fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ private function registerHtmlSanitizerConfiguration(array $config, ContainerBuil
26832683
}
26842684

26852685
if ($sanitizerConfig['allow_all_static_elements']) {
2686-
$def->addMethodCall('allowAllStaticElements', [], true);
2686+
$def->addMethodCall('allowStaticElements', [], true);
26872687
}
26882688

26892689
// Configures elements

0 commit comments

Comments
 (0)
0