bobtfish / text-markdown

The perl Text::Markdown CPAN module
Other
50 stars 21 forks source link

Generate link in markdown enabled tag #18

Open keedi opened 12 years ago

keedi commented 12 years ago

Since, _StripLinkDefinitions() is called after _HashHTMLBlocks(), so current Text::Markdown cannot generate link in markdown enabled tag(markdown="1").

I'm not sure if there's side effects on other parts of Text::Markdown. But it seems that the patch fixes the problem.

If this patch is applied, _Markdown() method of Text::MultiMarkdown has to be changed(removing _StripLinkDefinitions()), too.