about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/hl_mod.t4
1 files changed, 4 insertions, 0 deletions
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, \('<pre>'.$$ref.'</pre>'), \$out, \$err);
                 # expand tabs and normalize whitespace,
                 # w3m doesn't preserve tabs