about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-27 23:37:22 +0200
committerGitHub <noreply@github.com>2017-04-27 23:37:22 +0200
commit7406404fa3c3ff921bf4501eb365932b0553ebeb (patch)
tree93b21272f8a927409088f702ca9402ebefe6e7e7 /app
parent010e4f2879fe2d31bc01c035d97888d78da7ac03 (diff)
Hotfix remote status formatting (#2543)
Diffstat (limited to 'app')
-rw-r--r--app/lib/formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb
index 5ae6238d9..6d0828a8d 100644
--- a/app/lib/formatter.rb
+++ b/app/lib/formatter.rb
@@ -23,7 +23,7 @@ class Formatter
   end
 
   def reformat(html)
-    sanitize(html, Sanitize::Config::MASTODON_STRICT)
+    sanitize(html, Sanitize::Config::MASTODON_STRICT).html_safe # rubocop:disable Rails/OutputSafety
   end
 
   def plaintext(status)