Compare commits

...

2 commits

Author SHA1 Message Date
d1af78aba1 changelog 2023-09-15 12:00:45 +01:00
3e7446d177 Add various both-ugc-and-tag setups 2023-09-15 11:58:56 +01:00
4 changed files with 10 additions and 3 deletions

View file

@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Fixed
- Documentation issue in which a non-existing nginx file was referenced
- Issue where a bad inbox URL could break federation
- Issue where hashtag rel values would be scrubbed
## 2023.08

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"])