diff options
author | Vald <maghtpol@gmail.com> | 2018-12-06 01:05:41 +0530 |
---|---|---|
committer | Vald <maghtpol@gmail.com> | 2018-12-06 01:05:41 +0530 |
commit | 3ccfe226c0e7710c2321b19643a43fcc6458a1e9 (patch) | |
tree | d0335eb544aa29052799f1d50b26f4871124d1cb /lib/pleroma/html.ex | |
parent | 5f0c2372bc8be3763b649b13ee142c273583329e (diff) | |
download | pleroma-3ccfe226c0e7710c2321b19643a43fcc6458a1e9.tar.gz |
added data attrs for user and tag
Diffstat (limited to 'lib/pleroma/html.ex')
-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 1b920d7fd..271a48b57 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -86,7 +86,7 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.remove_cdata_sections_before_scrub() Meta.strip_comments() - 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"]) Meta.allow_tag_with_these_attributes("abbr", ["title"]) |