File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,19 +63,19 @@ $config = (new HtmlSanitizerConfig())
63
63
->forceHttpsUrls()
64
64
65
65
// Configure which schemes are allowed in links (others will be dropped)
66
- ->allowedLinkSchemes (['https', 'http', 'mailto'])
66
+ ->allowLinkSchemes (['https', 'http', 'mailto'])
67
67
68
68
// Configure which hosts are allowed in links (by default all are allowed)
69
- ->allowedLinkHosts (['symfony.com', 'example.com'])
69
+ ->allowLinkHosts (['symfony.com', 'example.com'])
70
70
71
71
// Allow relative URL in links (by default they are dropped)
72
72
->allowRelativeLinks()
73
73
74
74
// Configure which schemes are allowed in img/audio/video/iframe (others will be dropped)
75
- ->allowedMediaSchemes (['https', 'http'])
75
+ ->allowMediaSchemes (['https', 'http'])
76
76
77
77
// 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'])
79
79
80
80
// Allow relative URL in img/audio/video/iframe (by default they are dropped)
81
81
->allowRelativeMedias()
You can’t perform that action at this time.
0 commit comments