ralphbean/ansi2html — Issue #7: Color mix
Author: fdev31
Created: 2012-02-03 23:46:34+00:00
State: open

Hi!
I use a buildbot running ansi2html with lettuce's default output to serve some test on a website and I noticed a swap between body_foreground & ansi30 css' colors (#000 and #AAA respectively here).

Also, since I upgraded of 0.6.x (if I remember correctly) to latest release, I had to patch the code to add an encode('utf-8') to the final print statement to make the program run without "ansi" decode error.

I am running python2.6 and the content of my environment is:
```
USER=fab31
LOGNAME=fab31
HOME=/home/fab31
PATH=/home/fab31/.pythonbrew/bin:/home/fab31/pyenv/bbot/bin:/home/fab31/utils:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/fab31/.local/bin:/sbin:/usr/sbin:/usr/local/bin:/opt/java/jre/bin
MAIL=/var/mail/fab31
SHELL=/bin/zsh
SSH_CLIENT=79.84.236.37 53268 22
SSH_CONNECTION=79.84.236.37 53268 88.190.18.171 22
SSH_TTY=/dev/pts/4
TERM=xterm
LANG=fr_FR.UTF-8
SHLVL=1
PWD=/home/fab31/pyenv/bbot/master
OLDPWD=/home/fab31/pyenv/bbot/slave
G_BROKEN_FILENAMES=1
LC_NUMERIC=C
CLICOLOR=1
SVN_EDITOR=~/utils/svn_editor.sh
GDK_USE_XFT=1
PAGER=less
X2=x2x -west -to :0 -west
VISUAL=vim
EDITOR=vim
PYTHONSTARTUP=/home/fab31/.pystartup
HG_REPOS=/home/fab31/prog/hg-stable
PS1=(bbot)%n@%m:%~%#
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.bz2=01;31:*.rpm=01;31:*.deb=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=01;37:*.avi=01;37:*.mov=01;37:*.tbz=01;31:*.zip=01;31:*.mp3=00;34:*.png=01;35:*.89t=00;33
VIRTUALENVWRAPPER_VIRTUALENV_ARGS=--no-site-packages
WORKON_HOME=/home/fab31/pyenv
VIRTUALENVWRAPPER_LOG_DIR=/home/fab31/pyenv
PROJECT_HOME=/home/fab31/pyenv
PIP_VIRTUALENV_BASE=/home/fab31/pyenv
PIP_RESPECT_VIRTUALENV=true
VIRTUAL_ENV=/home/fab31/pyenv/bbot
_=/usr/bin/env

```