logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: b2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a
parent c4f4e48e574362d1ec86eaf11a382e81ca97cb35
Author: Alex Gleason <alex@alexgleason.me>
Date:   Tue, 13 Oct 2020 13:54:53 -0500

Sanitizer: allow <hr> tags

Diffstat:

Mpriv/scrubbers/default.ex1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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, [])