diff options
author | Eric Wong <e@80x24.org> | 2019-10-31 09:19:38 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-10-31 09:20:04 +0000 |
commit | ecf084d1f59f34f24eefbf0c64159ca96b489f73 (patch) | |
tree | b66fa96ee44331801f94dea959f61ed283335005 /t | |
parent | cb80e56b43750083bfaefc8c1fa8598e473113de (diff) | |
download | public-inbox-ecf084d1f59f34f24eefbf0c64159ca96b489f73.tar.gz |
hval: replace "'" with "'" for compatibility
While testing 216light.css changes, I managed to hit some cases where dillo failed to render ' correctly, but I also can't reproduce it reliably. Anyways, it's definitely a problem with some old browsers and newer versions of highlight already work around it, but Debian 10.x has 3.41, so use "'" to maximize compatibility.
Diffstat (limited to 't')
-rw-r--r-- | t/hl_mod.t | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -31,9 +31,6 @@ my $orig = $str; 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 |