X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/c7140ad90b0db2078e70b9cd3f08e1d176125191..9b145798c75e88267f4782b3cedc9d5deb41a0c8:/IkiWiki/Plugin/typography.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/typography.pm b/IkiWiki/Plugin/typography.pm index d613f873b..682dadab7 100644 --- a/IkiWiki/Plugin/typography.pm +++ b/IkiWiki/Plugin/typography.pm @@ -14,6 +14,8 @@ sub sanitize (@) { #{{{ my %params=@_; eval q{use Text::Typography}; + return $params{content} if $@; + return Text::Typography::typography($params{content}); } # }}}