rburns / ansi-to-html

Convert ansi escaped text streams to html.
MIT License
357 stars 48 forks source link

Bugfix/82 failure slash r sequence #93

Closed vboulaye closed 3 years ago

vboulaye commented 3 years ago

fixes #82

\r will be handled like the other line break styles (\n or \r\n): pass through by default, <br/> when newLine option is set.

I referenced is as the "mac style" line break in the tests as it seems to be the old way for Mac OS to represent line breaks

rburns commented 3 years ago

looks good. Thanks.