allow quote-inline span class
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 5 Aug 2022 19:35:00 +0000 (20:35 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 5 Aug 2022 19:35:00 +0000 (20:35 +0100)
priv/scrubbers/default.ex

index 478cbde9bef47ad1d5ee06c196aebd7bc64afca2..153b0be453499aea33f4c9394daaf0183df6aae3 100644 (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"])