Commit 9f342173 authored by Jared Deckard's avatar Jared Deckard

Replace carriage return combos with line breaks tags

parent 104b7b6c
...@@ -105,7 +105,7 @@ module Ci ...@@ -105,7 +105,7 @@ module Ci
break break
elsif s.scan(/</) elsif s.scan(/</)
@out << '&lt;' @out << '&lt;'
elsif s.scan(/\n/) elsif s.scan(/\r?\n/)
@out << '<br>' @out << '<br>'
else else
@out << s.scan(/./m) @out << s.scan(/./m)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment