mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-03-10 08:33:07 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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"])
|
||||
|
|
Loading…
Add table
Reference in a new issue