1
0
Fork 0

Merge branch 'event-description-new-tabs' into 'master'

Add target to allowed attributes on <a> links so that links open in new tabs

Closes 

See merge request 
This commit is contained in:
Thomas Citharel 2021-07-21 09:30:49 +00:00
commit c6098b33e3

View file

@ -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"])