Skip to content
Snippets Groups Projects
Unverified Commit fd156e11 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

fix sanitize

parent 09bc6e38
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,9 @@ class Osuny::Sanitizer
ALLOWED_TAGS = [
"a", "b", "br", "em", "i", "img", "li", "ol", "p", "strong", "sub", "sup", "ul"
]
ALLOWED_ATTRIBUTES = [
"href", "target", "title"
]
# type(ActiveRecord) = ['text', 'string']
......
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