From: Eugen Rochko Date: Thu, 27 Apr 2017 21:37:22 +0000 (+0200) Subject: Hotfix remote status formatting (#2543) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=7406404fa3c3ff921bf4501eb365932b0553ebeb;p=mastodon.git Hotfix remote status formatting (#2543) --- 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)