diff options
author | rinpatch <rinpatch@sdf.org> | 2020-04-08 22:58:31 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-04-08 22:58:31 +0300 |
commit | d067eaa7b3bb76e7fc5ae019d6e00510b657171d (patch) | |
tree | 1e70580489a5561f6a04fee5e0d2662d7653d119 /priv | |
parent | dd4d10b275e76afc029aea642ae3d69b07e33d81 (diff) | |
download | pleroma-d067eaa7b3bb76e7fc5ae019d6e00510b657171d.tar.gz |
formatter.ex: Use Phoenix.HTML for mention/hashtag generation
Unlike concatenating strings, this makes sure everything is escaped.
Tests had to be changed because Phoenix.HTML runs attributes through
Enum.sort before generation for whatever reason.
Diffstat (limited to 'priv')
0 files changed, 0 insertions, 0 deletions