Merge branch '1304-user-info-deprecation' into 'develop'
[akkoma] / lib / pleroma / html.ex
index 3951f0f51beaf8490d30178e1a49ef85bc682737..937bafed53ac8a1a574c7ca6668a0b041a1ca8f0 100644 (file)
@@ -184,7 +184,8 @@ defmodule Pleroma.HTML.Scrubber.Default do
     "tag",
     "nofollow",
     "noopener",
-    "noreferrer"
+    "noreferrer",
+    "ugc"
   ])
 
   Meta.allow_tag_with_these_attributes("a", ["name", "title"])
@@ -304,7 +305,8 @@ defmodule Pleroma.HTML.Scrubber.LinksOnly do
     "nofollow",
     "noopener",
     "noreferrer",
-    "me"
+    "me",
+    "ugc"
   ])
 
   Meta.allow_tag_with_these_attributes("a", ["name", "title"])