From: Joey Hess Date: Wed, 5 Mar 2008 01:17:55 +0000 (-0500) Subject: * Use Text::Markdown::markdown, since version 1.0.16 of Text::Markdown X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/0217eebf4901860dd04cbf22ee0d81b69b1396a0 * Use Text::Markdown::markdown, since version 1.0.16 of Text::Markdown no longer supports Text::Markdown::Markdown. All old versions of Text::Markdown also support the lower-case version. --- diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm index 254ab51d0..cabf44aa5 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -30,7 +30,7 @@ sub htmlize (@) { #{{{ else { eval q{use Text::Markdown}; if (! $@) { - $markdown_sub=\&Text::Markdown::Markdown; + $markdown_sub=\&Text::Markdown::markdown; } else { do "/usr/bin/markdown" || diff --git a/debian/changelog b/debian/changelog index a9d530c1e..1edab22fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,9 @@ ikiwiki (2.41) UNRELEASED; urgency=low * rcs_diff is a new function that rcs modules should implement. * Implemented rcs_diff for git, svn, and tla (tla version untested). Mercurial and monotone still todo. + * Use Text::Markdown::markdown, since version 1.0.16 of Text::Markdown + no longer supports Text::Markdown::Markdown. All old versions of + Text::Markdown also support the lower-case version. -- martin f. krafft Sun, 02 Mar 2008 17:46:38 +0100