mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ defmodule Mobilizon.Service.Formatter.DefaultScrubbler do
|
|||
"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"])
|
||||
|
||||
|
|
Loading…
Reference in a new issue