1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-26 09:49:12 +00:00

Merge branch 'setop-master-patch-09246' into 'master'

add "hr"to allowed tags in HTML

See merge request framasoft/mobilizon!776
This commit is contained in:
Thomas Citharel 2021-01-11 09:57:51 +01:00
commit 37c6742660

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