summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-06-05 19:06:54 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-06-05 19:06:54 +0000
commit9dc9c113cc1b345bb9631f92803b4d0b9426f8e4 (patch)
tree0ea31242aa9964037e09e54c182a84185198065f /IkiWiki/Plugin
parent435e06bce1fb8efe209ca0a7edf2c9f4d40db478 (diff)
exit with error if Text::Typography cannot be loaded
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/typography.pm2
1 files changed, 1 insertions, 1 deletions
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);