summaryrefslogtreecommitdiff
path: root/priv/scrubbers
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-10-13 13:54:53 -0500
committerMark Felder <feld@FreeBSD.org>2020-12-11 17:22:37 -0600
commitb2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a (patch)
tree68b096325c0045122b1033b735c9fec905c77fef /priv/scrubbers
parentc4f4e48e574362d1ec86eaf11a382e81ca97cb35 (diff)
downloadpleroma-b2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a.tar.gz
pleroma-b2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a.zip
Sanitizer: allow <hr> tags
Diffstat (limited to 'priv/scrubbers')
-rw-r--r--priv/scrubbers/default.ex1
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, [])