diff --git a/Markdown.pl b/Markdown.pl index 66586b8..29687f8 100755 --- a/Markdown.pl +++ b/Markdown.pl @@ -111,7 +111,7 @@ BEGIN { # Table of hash values for escaped characters: my %g_escape_table; BEGIN { - foreach my $char (split //, "\\\`*_~{}[]()>#+-.!|") { + foreach my $char (split //, "\\\`*_~{}[]()>#+-.!|:") { $g_escape_table{$char} = block_id($char,1); } } @@ -854,8 +854,7 @@ sub _DoAnchors { $url =~ s!([*_~])!$g_escape_table{$1}!g; $result = "