rburns / ansi-to-html

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

Unable to parse clear formatting ansi codes correctly #16

Open SerialVelocity opened 9 years ago

SerialVelocity commented 9 years ago

Hey,

Wikipedia mentions that colour formatting ansi codes are in the format:

CSI n1 [;n2 [; ...]] m

Your parser doesn't support:

\x1b[0;;m

This is what a program I'm using outputs. Would it be hard for you to add support for this?

Thanks! Nebster