diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-09-02 00:04:09 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-09-02 00:04:09 +0000 |
commit | 834515fb511ecb8021b81f355cb2d629887edeef (patch) | |
tree | 041c906375fdf1edfc956b9ab3a0a6070575d906 /test/web/twitter_api/representers | |
parent | 3c7280934e3bdca8d5a870dc932406ccd9915d64 (diff) | |
download | pleroma-834515fb511ecb8021b81f355cb2d629887edeef.tar.gz pleroma-834515fb511ecb8021b81f355cb2d629887edeef.zip |
formatter: don't add XSS emoji
Diffstat (limited to 'test/web/twitter_api/representers')
-rw-r--r-- | test/web/twitter_api/representers/activity_representer_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index 3f85e028b..894d20049 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -126,7 +126,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do } expected_html = - "<p>2hu</p>alert('YAY')Some <img height='32px' width='32px' alt='2hu' title='2hu' src='corndog.png' /> content mentioning <a href=\"#{ + "<p>2hu</p>alert('YAY')Some <img height=\"32px\" width=\"32px\" alt=\"2hu\" title=\"2hu\" src=\"corndog.png\" /> content mentioning <a href=\"#{ mentioned_user.ap_id }\">@shp</a>" |