summaryrefslogtreecommitdiff
path: root/lib/ci
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-01-09 15:50:05 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-01-09 15:50:05 +0000
commit6c62482144e786f83ed62298e06604e46e93107e (patch)
tree68e605024be118c8426a2a83df0d1dc3dfbe0e07 /lib/ci
parent583deef209af5a2700701fb0933582a7b5680620 (diff)
parent76eec7ba54aa7077005aa55bfc8581c2a48b8083 (diff)
downloadgitlab-ce-6c62482144e786f83ed62298e06604e46e93107e.tar.gz
Merge branch '19086-double-newline' into 'master'
Fix Double Spaced CI Log Closes #19086 See merge request !8349
Diffstat (limited to 'lib/ci')
-rw-r--r--lib/ci/ansi2html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/ansi2html.rb b/lib/ci/ansi2html.rb
index 229050151d3..c10d3616f31 100644
--- a/lib/ci/ansi2html.rb
+++ b/lib/ci/ansi2html.rb
@@ -105,7 +105,7 @@ module Ci
break
elsif s.scan(/</)
@out << '&lt;'
- elsif s.scan(/\n/)
+ elsif s.scan(/\r?\n/)
@out << '<br>'
else
@out << s.scan(/./m)