about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-27 11:35:29 +0000
committerEric Wong <e@80x24.org>2019-01-27 11:43:34 +0000
commit3998cdd1c94661687cee413b01b95422cf02c34a (patch)
tree36ff5dee5b309caa34d29282cec32babc35c0e09 /t
parent0a1fa18237d79b65fbfd9cbe337e72cddd0c6f3d (diff)
downloadpublic-inbox-3998cdd1c94661687cee413b01b95422cf02c34a.tar.gz
Otherwise, it's open season on our users :<
Diffstat (limited to 't')
-rw-r--r--t/hl_mod.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/hl_mod.t b/t/hl_mod.t
index b8b8eb9d..62cc6248 100644
--- a/t/hl_mod.t
+++ b/t/hl_mod.t
@@ -20,6 +20,7 @@ my $orig = $str;
         my $ref = $hls->do_hl(\$str, 'foo.perl');
         is(ref($ref), 'SCALAR', 'got a scalar reference back');
         like($$ref, qr/I can see you!/, 'we can see ourselves in output');
+        like($$ref, qr/&amp;&amp;/, 'escaped');
 
         use PublicInbox::Spawn qw(which);
         if (eval { require IPC::Run } && which('w3m')) {