NAME
HTML::FromANSI - Mark up ANSI sequences as HTML
SYNOPSIS
use HTML::FromANSI;
use Term::ANSIColor;
print ansi2html(color('bold blue'), "This text is bold blue.");
DESCRIPTION
This small module converts ANSI text sequences to corresponding HTML codes, using stylesheets to control color and blinking properties.
It exports ansi2html
by default, which takes an array, joins it it into a single scalar, and returns its HTML rendering.
CAVEATS
The implementation is exceptionally kludgey. I plan on fixing it in an indeterminable future. It's nowhere need a top priority, though.
SEE ALSO
ansi2html, Term::ANSIColor, Term::ANSIScreen.
AUTHORS
Stephen Hurd <shurd@sk.sympatico.ca>, Autrijus Tang <autrijus@autrijus.org>.
COPYRIGHT
Copyright 2001 by Stephen Hurd <shurd@sk.sympatico.ca>.
Picked up, cleaned up various bits, fixed bugs and turned into a CPAN module by Autrijus Tang.
Copyright 2001 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.