Closed lionelbzv closed 6 years ago
OK with this config
exercise_html_purifier:
default:
Cache.SerializerPath: "%kernel.root_dir%/cache/htmlpurifier"
custom:
Cache.SerializerPath: "%kernel.root_dir%/cache/htmlpurifier"
HTML.SafeIframe: true
URI.SafeIframeRegexp: "#^(https?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player\.vimeo\.com/video/)#"
Env / SF2.8 I'm trying to add config for allowing iframe from YouTube, here's my config.yml:
But I've got this error:
What's wrong? Thanks!