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",