Skip to content

Commit

Permalink
Hotfix remote status formatting (#2543)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron committed Apr 27, 2017
1 parent 010e4f2 commit 7406404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/formatter.rb
Expand Up @@ -23,7 +23,7 @@ def format(status)
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)
Expand Down

0 comments on commit 7406404

Please sign in to comment.