diff options
author | Vald <maghtpol@gmail.com> | 2018-12-06 02:14:56 +0530 |
---|---|---|
committer | Vald <maghtpol@gmail.com> | 2018-12-06 02:14:56 +0530 |
commit | 194869c7db1d31b139254d3a0c6a449cee0068fe (patch) | |
tree | c3c92fca2974539ca0f63d5e13c71b88dfc83b51 | |
parent | 3c8ffe7ed326f4c0bc515f35c905b405e90391b0 (diff) | |
download | pleroma-194869c7db1d31b139254d3a0c6a449cee0068fe.tar.gz |
added data attrs to twitter scrubber
-rw-r--r-- | lib/pleroma/html.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index 271a48b57..5daaa5e69 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -45,7 +45,7 @@ defmodule Pleroma.HTML.Scrubber.TwitterText do Meta.strip_comments() # links - Meta.allow_tag_with_uri_attributes("a", ["href"], @valid_schemes) + Meta.allow_tag_with_uri_attributes("a", ["href", "data-user", "data-tag"], @valid_schemes) Meta.allow_tag_with_these_attributes("a", ["name", "title"]) # paragraphs and linebreaks |