File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,19 +63,19 @@ $config = (new HtmlSanitizerConfig())
6363 ->forceHttpsUrls()
6464
6565 // Configure which schemes are allowed in links (others will be dropped)
66- ->allowedLinkSchemes (['https', 'http', 'mailto'])
66+ ->allowLinkSchemes (['https', 'http', 'mailto'])
6767
6868 // Configure which hosts are allowed in links (by default all are allowed)
69- ->allowedLinkHosts (['symfony.com', 'example.com'])
69+ ->allowLinkHosts (['symfony.com', 'example.com'])
7070
7171 // Allow relative URL in links (by default they are dropped)
7272 ->allowRelativeLinks()
7373
7474 // Configure which schemes are allowed in img/audio/video/iframe (others will be dropped)
75- ->allowedMediaSchemes (['https', 'http'])
75+ ->allowMediaSchemes (['https', 'http'])
7676
7777 // Configure which hosts are allowed in img/audio/video/iframe (by default all are allowed)
78- ->allowedMediaHosts (['symfony.com', 'example.com'])
78+ ->allowMediaHosts (['symfony.com', 'example.com'])
7979
8080 // Allow relative URL in img/audio/video/iframe (by default they are dropped)
8181 ->allowRelativeMedias()
You can’t perform that action at this time.
0 commit comments