logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 36a5578d2b16ba9f771fff55daafa85ec606a6be
parent 1f19dd76f66ca657ddfe79a51e59b8997a4c6321
Author: Alex Gleason <alex@alexgleason.me>
Date:   Mon, 24 Jan 2022 15:34:23 -0600

Scrubber.Default: allow span.quote-inline for quote post compatibility

Diffstat:

Mpriv/scrubbers/default.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex @@ -60,7 +60,7 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes(:u, ["lang"]) Meta.allow_tag_with_these_attributes(:ul, ["lang"]) - Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card", "recipients-inline"]) + Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card", "recipients-inline", "quote-inline"]) Meta.allow_tag_with_these_attributes(:span, ["lang"]) Meta.allow_tag_with_this_attribute_values(:code, "class", ["inline"])