aboutsummaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
Diffstat (limited to 'priv')
-rw-r--r--priv/scrubbers/default.ex3
-rw-r--r--priv/scrubbers/links_only.ex3
-rw-r--r--priv/scrubbers/twitter_text.ex4
3 files changed, 7 insertions, 3 deletions
diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex
index ea0480dcd..94e40637d 100644
--- a/priv/scrubbers/default.ex
+++ b/priv/scrubbers/default.ex
@@ -26,7 +26,8 @@ defmodule Pleroma.HTML.Scrubber.Default do
"nofollow",
"noopener",
"noreferrer",
- "ugc"
+ "ugc",
+ "ugc canonical"
])
Meta.allow_tag_with_these_attributes(:a, ["name", "title"])
diff --git a/priv/scrubbers/links_only.ex b/priv/scrubbers/links_only.ex
index b30a00589..bf767ba55 100644
--- a/priv/scrubbers/links_only.ex
+++ b/priv/scrubbers/links_only.ex
@@ -19,7 +19,8 @@ defmodule Pleroma.HTML.Scrubber.LinksOnly do
"noopener",
"noreferrer",
"me",
- "ugc"
+ "ugc",
+ "ugc canonical"
])
Meta.allow_tag_with_these_attributes(:a, ["name", "title"])
diff --git a/priv/scrubbers/twitter_text.ex b/priv/scrubbers/twitter_text.ex
index c4e796cad..afb2fbdef 100644
--- a/priv/scrubbers/twitter_text.ex
+++ b/priv/scrubbers/twitter_text.ex
@@ -26,7 +26,9 @@ defmodule Pleroma.HTML.Scrubber.TwitterText do
"tag",
"nofollow",
"noopener",
- "noreferrer"
+ "noreferrer",
+ "ugc",
+ "ugc canonical"
])
Meta.allow_tag_with_these_attributes(:a, ["name", "title"])