]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Hval.pm
No ext_urls
[public-inbox.git] / lib / PublicInbox / Hval.pm
index eab4738ea8f0ef930517ca218f0c002764e1998d..0677865e3958f3bd02dd54f80955e26a259d28d0 100644 (file)
@@ -34,7 +34,7 @@ my %escape_sequence = (
        "\x7f" => '\\x7f', # DEL
 );
 
-my %xhtml_map = (
+our %xhtml_map = (
        '"' => '"',
        '&' => '&',
        "'" => ''',
@@ -118,7 +118,7 @@ $ESCAPES{'/'} = ':'; # common
 sub to_attr ($) {
        my ($str) = @_;
 
-       # git would never do this to us:
+       # git would never do this to us, mail diff uses // to prevent anchors:
        return if index($str, '//') >= 0;
 
        my $first = '';