diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-27 23:37:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 23:37:22 +0200 |
commit | 7406404fa3c3ff921bf4501eb365932b0553ebeb (patch) | |
tree | 93b21272f8a927409088f702ca9402ebefe6e7e7 | |
parent | 010e4f2879fe2d31bc01c035d97888d78da7ac03 (diff) |
Hotfix remote status formatting (#2543)
-rw-r--r-- | app/lib/formatter.rb | 2 |
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) |