Add various both-ugc-and-tag setups

This commit is contained in:
FloatingGhost 2023-09-15 11:58:56 +01:00
parent c8e08e9cc3
commit 3e7446d177
3 changed files with 9 additions and 3 deletions

View file

@ -26,7 +26,9 @@ defmodule Pleroma.HTML.Scrubber.Default do
"nofollow",
"noopener",
"noreferrer",
"ugc"
"ugc",
"tag ugc",
"ugc tag"
])
Meta.allow_tag_with_these_attributes(:a, ["name", "title"])

View file

@ -19,7 +19,9 @@ defmodule Pleroma.HTML.Scrubber.LinksOnly do
"noopener",
"noreferrer",
"me",
"ugc"
"ugc",
"tag ugc",
"ugc tag"
])
Meta.allow_tag_with_these_attributes(:a, ["name", "title"])

View file

@ -26,7 +26,9 @@ defmodule Pleroma.HTML.Scrubber.TwitterText do
"tag",
"nofollow",
"noopener",
"noreferrer"
"noreferrer",
"tag ugc",
"ugc tag"
])
Meta.allow_tag_with_these_attributes(:a, ["name", "title"])