X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/435e06bce1fb8efe209ca0a7edf2c9f4d40db478..3d9468d5e75d9de33f299cbaae5c5862fa48a801:/IkiWiki/Plugin/typography.pm

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);