mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-12 23:27:48 +00:00
Add comment
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
# We offer an editor which supports certain tags but you can't insert just any
|
||||
# HTML, which would be dangerous.
|
||||
class HtmlSanitizer
|
||||
# div is required by Trix editor
|
||||
ALLOWED_TAGS = %w[h1 h2 h3 h4 div p br b i u a strong em del pre blockquote ul ol li hr
|
||||
figure].freeze
|
||||
ALLOWED_ATTRIBUTES = %w[href target].freeze
|
||||
|
||||
Reference in New Issue
Block a user