Convert ansi escape codes to html