about summary refs log tree commit homepage
path: root/lib/PublicInbox/Hval.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-27 11:07:53 +0000
committerEric Wong <e@80x24.org>2021-04-27 21:28:58 -0400
commit2ad73a71e64085e7814df8880f90120c87d515cb (patch)
treed1608213c67eba79b2b8a44ba45a249d0ee20f80 /lib/PublicInbox/Hval.pm
parent4b9be88e2465ffcbf91901f06e19a749f6bdf818 (diff)
downloadpublic-inbox-2ad73a71e64085e7814df8880f90120c87d515cb.tar.gz
This is mainly for "lei lcat" where it's the default,
but I find it useful anyways compared to the JSON view.

Colors are loaded from ~/.config/lei/config, and fall back
to using diff colors from a normal git config
(e.g. ~/.gitconfig).
Diffstat (limited to 'lib/PublicInbox/Hval.pm')
-rw-r--r--lib/PublicInbox/Hval.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm
index eab4738e..00b3c8b4 100644
--- a/lib/PublicInbox/Hval.pm
+++ b/lib/PublicInbox/Hval.pm
@@ -34,7 +34,7 @@ my %escape_sequence = (
         "\x7f" => '\\x7f', # DEL
 );
 
-my %xhtml_map = (
+our %xhtml_map = (
         '"' => '&#34;',
         '&' => '&#38;',
         "'" => '&#39;',