Allow "invisible" and "ellipsis" classes for span tags to match Mastodon behavior

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk 2025-09-07 22:52:11 +02:00
commit 3be0d206bd
2 changed files with 4 additions and 1 deletions

View file

@ -80,7 +80,9 @@ defmodule Pleroma.HTML.Scrubber.Default do
Meta.allow_tag_with_this_attribute_values(:span, "class", [
"h-card",
"recipients-inline",
"quote-inline"
"quote-inline",
"invisible",
"ellipsis"
])
Meta.allow_tag_with_these_attributes(:span, ["lang"])