Allow data-media-id attribute in img tags
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
af98045d14
commit
4e7ab231ad
@ -61,7 +61,8 @@ defmodule Mobilizon.Service.Formatter.DefaultScrubbler do
|
|||||||
"height",
|
"height",
|
||||||
"class",
|
"class",
|
||||||
"title",
|
"title",
|
||||||
"alt"
|
"alt",
|
||||||
|
"data-media-id"
|
||||||
])
|
])
|
||||||
|
|
||||||
Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card", "mention"])
|
Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card", "mention"])
|
||||||
|
Loading…
Reference in New Issue
Block a user