fusesource/jansi — pull request #7 by dblock (2012-04-04 01:41:57+00:00)
Title: Added an html ANSI output stream + bug fix.

Added a stream that makes HTML out of ANSI w/ tests.

Next, I think JANSI is not properly handling default text and background color (39 and 49). Those just say to keep (not set) default color, so resetting to zero is not right. The following test would fail without this fix.

``` java
assertEquals(colorize("[0;31;49mred[0m"),
"red");
```