summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-07-10 17:57:09 -0400
committertusooa <tusooa@kazv.moe>2023-09-13 19:19:05 -0400
commitb0a7e795e799d3c8d750ab909657ec7b3d0bfd58 (patch)
treeca6cc227fcda6257fc45517b280f9188e005977d /priv
parentf9697e68c2b75a77575b9b7c89d08a5687bfd7b4 (diff)
Unify logic for normalizing quoteUri
Diffstat (limited to 'priv')
-rw-r--r--priv/scrubbers/default.ex7
1 files changed, 6 insertions, 1 deletions
diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex
index 56324a9fa..4e7950547 100644
--- a/priv/scrubbers/default.ex
+++ b/priv/scrubbers/default.ex
@@ -60,7 +60,12 @@ 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", "quote-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"])