commit: 7406404fa3c3ff921bf4501eb365932b0553ebeb
parent: 010e4f2879fe2d31bc01c035d97888d78da7ac03
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Thu, 27 Apr 2017 23:37:22 +0200
Hotfix remote status formatting (#2543)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)