1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

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

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

Closes #786

See merge request framasoft/mobilizon!988
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"])