projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
streamer: use direct object for filter checks when there is no valid child object...
[akkoma]
/
lib
/
pleroma
/
html.ex
diff --git
a/lib/pleroma/html.ex
b/lib/pleroma/html.ex
index 3951f0f51beaf8490d30178e1a49ef85bc682737..937bafed53ac8a1a574c7ca6668a0b041a1ca8f0 100644
(file)
--- a/
lib/pleroma/html.ex
+++ b/
lib/pleroma/html.ex
@@
-184,7
+184,8
@@
defmodule Pleroma.HTML.Scrubber.Default do
"tag",
"nofollow",
"noopener",
"tag",
"nofollow",
"noopener",
- "noreferrer"
+ "noreferrer",
+ "ugc"
])
Meta.allow_tag_with_these_attributes("a", ["name", "title"])
])
Meta.allow_tag_with_these_attributes("a", ["name", "title"])
@@
-304,7
+305,8
@@
defmodule Pleroma.HTML.Scrubber.LinksOnly do
"nofollow",
"noopener",
"noreferrer",
"nofollow",
"noopener",
"noreferrer",
- "me"
+ "me",
+ "ugc"
])
Meta.allow_tag_with_these_attributes("a", ["name", "title"])
])
Meta.allow_tag_with_these_attributes("a", ["name", "title"])