Still allow inline fake emojis

This commit is contained in:
Zero 2022-11-27 12:10:31 -05:00
parent cbc0a66766
commit 8e99b530c4

View file

@ -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",