X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fhl_mod.t;h=fc7b712cea6945a4031274e63d0c05c6ed669e16;hb=1bbfab375438f149dcff9047dd0c5ed3a08eed53;hp=84a4b5766873ba733041c87819450bbfa9dc3fc5;hpb=7826c91ef37f9b5fb5396e1168d84a6574385915;p=public-inbox.git diff --git a/t/hl_mod.t b/t/hl_mod.t index 84a4b576..fc7b712c 100644 --- a/t/hl_mod.t +++ b/t/hl_mod.t @@ -30,6 +30,10 @@ my $orig = $str; require File::Temp; my $cmd = [ qw(w3m -T text/html -dump -config /dev/null) ]; my ($out, $err) = ('', ''); + + # workaround https://bugs.debian.org/927409 + $$ref =~ s/'/'/sg; + IPC::Run::run($cmd, \('
'.$$ref.'
'), \$out, \$err); # expand tabs and normalize whitespace, # w3m doesn't preserve tabs