]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/typography.pm
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / IkiWiki / Plugin / typography.pm
index 5073d51d31a79858bfe68c3809a92f7c09a03ee0..fe69968981029f07e0a60c2903bfb9e02fe6a4a6 100644 (file)
@@ -22,7 +22,7 @@ sub sanitize (@) { #{{{
        my %params=@_;
 
        eval q{use Text::Typography};
        my %params=@_;
 
        eval q{use Text::Typography};
-       return $params{content} if $@;
+       error($@) if $@;
 
        my $attributes=defined $config{typographyattributes} ? $config{typographyattributes} : '3';
        return Text::Typography::typography($params{content}, $attributes);
 
        my $attributes=defined $config{typographyattributes} ? $config{typographyattributes} : '3';
        return Text::Typography::typography($params{content}, $attributes);