Subject: | Not all escapes are stripped by remove_escapes |
See attached script(1) output run through:
#!/usr/bin/env perl
use strict;
use warnings;
use HTML::FromANSI::Tiny;
my $conv = HTML::FromANSI::Tiny->new(
auto_reverse => 1,
background => 'white',
foreground => 'black',
remove_escapes => 1,
);
my $ansi = do { local $/; <> };
my $template = do { local $/; <DATA> };
printf $template, scalar $conv->css, scalar $conv->html($ansi);
__DATA__
<html>
<head>
<style>%s</style>
</head>
<body>
<pre>%s</pre>
</body>
</html>
Subject: | tidy-problems |
Message body not shown because it is not plain text.