Keep newlines in xml (#1397)
This commit is contained in:
parent
553170b77a
commit
f690320fb9
2 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ class Formatter
|
|||
html = status.text
|
||||
html = encode(html)
|
||||
html = simple_format(html, {}, sanitize: false)
|
||||
html = html.gsub(/\n/, '')
|
||||
html = link_urls(html)
|
||||
html = link_mentions(html, status.mentions)
|
||||
html = link_hashtags(html)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue