From 9dc9c113cc1b345bb9631f92803b4d0b9426f8e4 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 5 Jun 2007 19:06:54 +0000 Subject: exit with error if Text::Typography cannot be loaded --- IkiWiki/Plugin/typography.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/typography.pm b/IkiWiki/Plugin/typography.pm index 5073d51d3..fe6996898 100644 --- a/IkiWiki/Plugin/typography.pm +++ b/IkiWiki/Plugin/typography.pm @@ -22,7 +22,7 @@ sub sanitize (@) { #{{{ 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); -- cgit v1.2.3