From f690320fb93ea1a884a292f9e099eb1bc0834b6d Mon Sep 17 00:00:00 2001 From: Rachel H Date: Mon, 10 Apr 2017 12:32:45 -0700 Subject: Keep newlines in xml (#1397) --- app/lib/formatter.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/lib/formatter.rb') diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index da7ad2027..c3f331ff7 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -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) -- cgit