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

This commit is contained in:
Alex Gleason 2022-01-24 15:34:23 -06:00
parent c04241eb4a
commit cd9341dbff
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -56,7 +56,7 @@ defmodule Pleroma.HTML.Scrubber.Default do
Meta.allow_tag_with_these_attributes(:u, [])
Meta.allow_tag_with_these_attributes(:ul, [])
Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card"])
Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card", "quote-inline"])
Meta.allow_tag_with_these_attributes(:span, [])
Meta.allow_tag_with_this_attribute_values(:code, "class", ["inline"])