Browse Source

Add simple_format to simplified_format (#2198)

closed-social-glitch-2
178inaba 7 years ago
committed by Eugen
parent
commit
1244630ab4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/lib/formatter.rb

+ 2
- 0
app/lib/formatter.rb View File

@ -35,6 +35,8 @@ class Formatter
return reformat(account.note) unless account.local?
html = encode_and_link_urls(account.note)
html = simple_format(html, {}, sanitize: false)
html = html.delete("\n")
html = link_accounts(html)
html = link_hashtags(html)

Loading…
Cancel
Save