]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/mdwn.pm
work around a bug in... Text::Markdown, I think.
[ikiwiki.git] / IkiWiki / Plugin / mdwn.pm
index 0e134c8224f470c6cc101e0b14e6106c44a541e6..a3f086567f884f5c05bf4b504be30169e6b0cf9a 100644 (file)
@@ -49,7 +49,7 @@ sub htmlize (@) {
                }
                if (! defined $markdown_sub) {
                        eval q{use Text::Markdown};
-                       if (! $@) {
+                       if (1) {#! $@) {  # Text::Markdown throws this but works.  Shrug.
                                if (Text::Markdown->can('markdown')) {
                                        $markdown_sub=\&Text::Markdown::markdown;
                                }