Hi!

I've dug this a bit, and by analogue with footnotes, added unsescaping
of special chars to references - and that worked well. The change is
simple and looks logical, but I don't know, if it will break anything.

--- /usr/share/perl5/Text/MultiMarkdown.pm      2011-04-26 12:27:23.000000000 
+0300
+++ Text/MultiMarkdown.pm       2012-11-06 12:35:28.000000000 +0200
@@ -1218,6 +1218,7 @@
         $reference =~ s/^[ ]{0,$self->{tab_width}}//gm;
 
         $reference = $self->_RunBlockGamut($reference, {wrap_in_p_tags => 0});
+        $reference = $self->_UnescapeSpecialChars($reference);
 
         $self->{_references}{$id} = $reference;
     }

-- 
Михайло Даниленко
-------------------------------
jabber: <isb...@unixzone.org.ua>
icq:    590697790

Attachment: signature.asc
Description: Digital signature

Reply via email to