Scrubber: Allow quote-inline class in <p> tags used by Mastodon quotes
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
8f9a139ba1
commit
889938d76a
2 changed files with 3 additions and 0 deletions
1
changelog.d/scrubber-inline-quotes-mastodon.add
Normal file
1
changelog.d/scrubber-inline-quotes-mastodon.add
Normal file
|
|
@ -0,0 +1 @@
|
|||
Scrubber: Allow `quote-inline` class in <p> tags used by Mastodon quotes
|
||||
|
|
@ -83,6 +83,8 @@ defmodule Pleroma.HTML.Scrubber.Default do
|
|||
"quote-inline"
|
||||
])
|
||||
|
||||
Meta.allow_tag_with_this_attribute_values(:p, "class", ["quote-inline"])
|
||||
|
||||
Meta.allow_tag_with_these_attributes(:span, ["lang"])
|
||||
|
||||
Meta.allow_tag_with_this_attribute_values(:code, "class", ["inline"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue