add "hr"to allowed tags in HTML

because it doesn't hurt and it is useful in event description and all other HTML content
This commit is contained in:
setop 2021-01-10 00:01:57 +01:00
parent f3fc67da43
commit 3f856daf41

View file

@ -73,6 +73,7 @@ defmodule Mobilizon.Service.Formatter.DefaultScrubbler do
Meta.allow_tag_with_these_attributes(:h3, [])
Meta.allow_tag_with_these_attributes(:h4, [])
Meta.allow_tag_with_these_attributes(:h5, [])
Meta.allow_tag_with_these_attributes(:hr, [])
Meta.strip_everything_not_covered()
end