Skip to content
Snippets Groups Projects
Unverified Commit 8aac7c39 authored by Pierre-André Boissinot's avatar Pierre-André Boissinot Committed by GitHub
Browse files

Merge pull request #1355 from noesya/rollback-html4-sanitizer

Rollback to HTML4 sanitizer
parents 2a7e5a12 224b5db7
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,8 @@ module Osuny
# Need for +repage, because of https://github.com/rails/rails/commit/b2ab8dd3a4a184f3115e72b55c237c7b66405bd9
config.active_storage.supported_image_processing_methods = ["+"]
# TEMP TODO: Corriger le problème des nbsp avec le sanitizer HTML5
config.action_view.sanitizer_vendor = Rails::HTML4::Sanitizer
config.action_view.sanitized_allowed_tags = [
"a", "b", "br", "em", "i", "img", "li", "ol", "p", "strong", "sub", "sup", "ul"
]
......
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