projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f4e48
)
Sanitizer: allow <hr> tags
author
Alex Gleason
<alex@alexgleason.me>
Tue, 13 Oct 2020 18:54:53 +0000
(13:54 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Fri, 11 Dec 2020 23:22:37 +0000
(17:22 -0600)
priv/scrubbers/default.ex
patch
|
blob
|
history
diff --git
a/priv/scrubbers/default.ex
b/priv/scrubbers/default.ex
index 7b06994de1dce831d5a3d9584cf53d84463b001b..0893b17e50d393de0d662044250bd87e4db3a2b5 100644
(file)
--- 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, [])