From b3f48aa6074f5a9d704e129f641798bce1b4e7b2 Mon Sep 17 00:00:00 2001 From: fox Date: Wed, 8 Mar 2023 07:38:37 +0000 Subject: [PATCH] yes fun allowed, kys revert fine then no fun allowed, y'all don't deserve it --- priv/scrubbers/default.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex index 37ffaef3a..771f27ac1 100644 --- a/priv/scrubbers/default.ex +++ b/priv/scrubbers/default.ex @@ -56,6 +56,8 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes(:u, []) Meta.allow_tag_with_these_attributes(:ul, []) + Meta.allow_tags_with_style_attributes([:span]) + Meta.allow_tag_with_this_attribute_values(:span, "class", [ "h-card", "quote-inline",