diff options
author | Jared Deckard <jared.deckard@gmail.com> | 2016-12-28 17:03:28 +0300 |
---|---|---|
committer | Jared Deckard <jared.deckard@gmail.com> | 2016-12-29 01:32:45 +0300 |
commit | 9f3421730d499d4961a69c86ec48eca6cc214c7b (patch) | |
tree | 65329837a243d6a5280a0ed3fb1379d57f24becd | |
parent | 104b7b6c39df96d25d36749e4e7f6d5f44d46acf (diff) |
Replace carriage return combos with line breaks tags
-rw-r--r-- | lib/ci/ansi2html.rb | 2 |
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 << '<' - elsif s.scan(/\n/) + elsif s.scan(/\r?\n/) @out << '<br>' else @out << s.scan(/./m) |