Replace carriage return combos with line breaks tags
This commit is contained in:
parent
104b7b6c39
commit
9f3421730d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue