diff options
Diffstat (limited to 't/hl_mod.t')
-rw-r--r-- | t/hl_mod.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ my $orig = $str; require File::Temp; my $cmd = [ qw(w3m -T text/html -dump -config /dev/null) ]; my ($out, $err) = ('', ''); - IPC::Run::run($cmd, $ref, \$out, \$err); + IPC::Run::run($cmd, \('<pre>'.$$ref.'</pre>'), \$out, \$err); # expand tabs and normalize whitespace, # w3m doesn't preserve tabs $orig =~ s/\t/ /gs; |