summaryrefslogtreecommitdiff
path: root/lib/ci/ansi2html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ci/ansi2html.rb')
-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)