Skip to content
Snippets Groups Projects
Commit 555ad0ea authored by Arnaud Levy's avatar Arnaud Levy
Browse files

allow iframes

parent 3b38f6ee
No related branches found
No related tags found
No related merge requests found
......@@ -52,11 +52,15 @@ module Osuny
"a", "abbr", "acronym", "address", "b", "big", "blockquote", "br",
"cite", "code", "dd", "del", "dfn", "div", "dl", "dt", "em",
"h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "img", "ins", "kbd", "li", "ol",
"p", "picture", "pre", "samp", "small", "source", "span", "strong", "sub", "sup", "tt", "u", "ul", "var", "video"
"p", "picture", "pre", "samp", "small", "source", "span", "strong",
"sub", "sup", "tt", "u", "ul", "var", "video", "iframe"
]
config.action_view.sanitized_allowed_attributes = [
"abbr", "alt", "cite", "class", "controls", "datetime", "decoding", "height", "href", "loading",
"name", "sizes", "src", "srcset", "style", "target", "title", "type", "width", "xml:lang"
"abbr", "allowfullscreen", "alt", "cite", "class", "controls", "datetime",
"decoding", "frameborder", "height", "href", "loading", "mozallowfullscreen",
"name", "sizes", "src", "srcset", "style", "target", "title", "type",
"webkitallowfullscreen", "width", "xml:lang",
]
config.allowed_special_chars = '#?!,@$%^&*+:;£µ-'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment