Allow all rel values for event & post links in descriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -36,6 +36,11 @@ defmodule Mobilizon.Service.Formatter.DefaultScrubbler do
|
||||
"ugc"
|
||||
])
|
||||
|
||||
# Rel attributes are separated by spaces
|
||||
Meta.allow_tag_with_this_attribute_values(:a, "rel", [
|
||||
"noopener noreferrer ugc"
|
||||
])
|
||||
|
||||
Meta.allow_tag_with_these_attributes(:a, ["name", "title", "target"])
|
||||
|
||||
Meta.allow_tag_with_these_attributes(:abbr, ["title"])
|
||||
|
||||
Reference in New Issue
Block a user