Skip Menu |

This queue is for tickets about the Parse-ANSIColor-Tiny CPAN distribution.

Report information
The Basics
Id: 97156
Status: open
Priority: 0/
Queue: Parse-ANSIColor-Tiny

People
Owner: Nobody in particular
Requestors: tsibley [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.501
Fixed in: (no value)



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
Download tidy-problems
application/octet-stream 5.1k

Message body not shown because it is not plain text.

Thanks for the report. I've been running script(1) myself doing a few things and I'm finding a lot more bizarre output that shells and programs spit out when they think you're on a terminal. I'm doing some research and adding some test cases.