forked from AkkomaGang/akkoma
Add various both-ugc-and-tag setups
This commit is contained in:
parent
c8e08e9cc3
commit
3e7446d177
3 changed files with 9 additions and 3 deletions
|
@ -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"])
|
||||
|
|
|
@ -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"])
|
||||
|
|
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue