diff --git a/lib/service/formatter/default_scrubbler.ex b/lib/service/formatter/default_scrubbler.ex index 581ae79c5..e0f8ac707 100644 --- a/lib/service/formatter/default_scrubbler.ex +++ b/lib/service/formatter/default_scrubbler.ex @@ -61,7 +61,8 @@ defmodule Mobilizon.Service.Formatter.DefaultScrubbler do "height", "class", "title", - "alt" + "alt", + "data-media-id" ]) Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card", "mention"])