forked from treehouse/mastodon
Hotfix remote status formatting (#2543)
parent
010e4f2879
commit
7406404fa3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue