octopusci
octopusci copied to clipboard
Write a gem to replace ansi2html outputs span with inline styles.
This is needed because ansi2html will now work inside of html e-mails as they don't support style blocks. Instead they only support inline styles so we need a gem/form similar to ansi2html but one that simply outputs spans with inline styles setting the colors instead of giving each span a class with a color name which is defined somewhere else. I realize that this is moving the coloring to the be the standard colors and that makes it less configurable but that is something I am ok with as long as they work in the html emails.