mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-08 09:24:18 +00:00
Add various both-ugc-and-tag setups
This commit is contained in:
parent
c8e08e9cc3
commit
3e7446d177
|
@ -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