projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84c905e
)
avoid fatal error in sanitize
author
Joey Hess
<joey@kodama.kitenet.net>
Sat, 26 Jul 2008 04:45:21 +0000
(
00:45
-0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sat, 26 Jul 2008 04:45:21 +0000
(
00:45
-0400)
IkiWiki/Plugin/typography.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/typography.pm
b/IkiWiki/Plugin/typography.pm
index 8ae1f3445c966e39bef6dfea77cd8072326c0027..4c486d4b4ad1917c965380fde9ba6cbed66d715e 100644
(file)
--- a/
IkiWiki/Plugin/typography.pm
+++ b/
IkiWiki/Plugin/typography.pm
@@
-38,7
+38,7
@@
sub sanitize (@) { #{{{
my %params=@_;
eval q{use Text::Typography};
-
error($@)
if $@;
+
return $params{content}
if $@;
my $attributes=defined $config{typographyattributes} ? $config{typographyattributes} : '3';
return Text::Typography::typography($params{content}, $attributes);