1
0
Fork 1
forked from fedi/mastodon

Hotfix remote status formatting (#2543)

This commit is contained in:
Eugen Rochko 2017-04-27 23:37:22 +02:00 committed by GitHub
parent 010e4f2879
commit 7406404fa3

View file

@ -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)