scrubbers/default: Allow "mention hashtag" classes used by Mastodon
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
816d2332ab
commit
24faec8de2
2 changed files with 4 additions and 2 deletions
|
|
@ -18,7 +18,8 @@ defmodule Pleroma.HTML.Scrubber.Default do
|
|||
"u-url",
|
||||
"mention",
|
||||
"u-url mention",
|
||||
"mention u-url"
|
||||
"mention u-url",
|
||||
"mention hashtag"
|
||||
])
|
||||
|
||||
Meta.allow_tag_with_this_attribute_values(:a, "rel", [
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ defmodule Pleroma.HTML.Scrubber.TwitterText do
|
|||
"u-url",
|
||||
"mention",
|
||||
"u-url mention",
|
||||
"mention u-url"
|
||||
"mention u-url",
|
||||
"mention hashtag"
|
||||
])
|
||||
|
||||
Meta.allow_tag_with_this_attribute_values(:a, "rel", [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue