diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-10-13 13:54:53 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-12-11 17:22:37 -0600 |
commit | b2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a (patch) | |
tree | 68b096325c0045122b1033b735c9fec905c77fef /priv/scrubbers/default.ex | |
parent | c4f4e48e574362d1ec86eaf11a382e81ca97cb35 (diff) | |
download | pleroma-b2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a.tar.gz pleroma-b2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a.zip |
Sanitizer: allow <hr> tags
Diffstat (limited to 'priv/scrubbers/default.ex')
-rw-r--r-- | priv/scrubbers/default.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex index 7b06994de..0893b17e5 100644 --- a/priv/scrubbers/default.ex +++ b/priv/scrubbers/default.ex @@ -39,6 +39,7 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes(:code, []) Meta.allow_tag_with_these_attributes(:del, []) Meta.allow_tag_with_these_attributes(:em, []) + Meta.allow_tag_with_these_attributes(:hr, []) Meta.allow_tag_with_these_attributes(:i, []) Meta.allow_tag_with_these_attributes(:li, []) Meta.allow_tag_with_these_attributes(:ol, []) |