forked from potsda.mn/mobilizon
Add target to allowed attributes on <a> links so that links open in new
tabs Closes #786 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f4cfed1bdf
commit
d7bcfd5be6
|
@ -36,7 +36,7 @@ defmodule Mobilizon.Service.Formatter.DefaultScrubbler do
|
||||||
"ugc"
|
"ugc"
|
||||||
])
|
])
|
||||||
|
|
||||||
Meta.allow_tag_with_these_attributes(:a, ["name", "title"])
|
Meta.allow_tag_with_these_attributes(:a, ["name", "title", "target"])
|
||||||
|
|
||||||
Meta.allow_tag_with_these_attributes(:abbr, ["title"])
|
Meta.allow_tag_with_these_attributes(:abbr, ["title"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue