Still allow inline fake emojis
This commit is contained in:
parent
cbc0a66766
commit
8e99b530c4
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ defmodule Pleroma.HTML.Scrubber.Default do
|
|||
# restrict img tags to http/https only, because of MediaProxy.
|
||||
Meta.allow_tag_with_uri_attributes(:img, ["src"], ["http", "https"])
|
||||
|
||||
Meta.allow_tag_with_this_attribute_values(:img, ["class"], ["emoji"])
|
||||
|
||||
Meta.allow_tag_with_these_attributes(:img, [
|
||||
"width",
|
||||
"height",
|
||||
|
|
Loading…
Reference in a new issue