* Don't fail syntax check if Text::Typography isn't installed.

Closes: #389406
master
joey 2006-09-26 06:08:24 +00:00
parent db8c6d8550
commit b78e139c50
2 changed files with 7 additions and 3 deletions

View File

@ -5,7 +5,6 @@ package IkiWiki::Plugin::typography;
use warnings;
use strict;
use IkiWiki;
use Text::Typography;
sub import { #{{{
IkiWiki::hook(type => "sanitize", id => "typography", call => \&sanitize);
@ -14,6 +13,9 @@ sub import { #{{{
sub sanitize (@) { #{{{
my %params=@_;
eval q{use Text::Typography};
return $params{content} if $@;
return Text::Typography::typography($params{content});
} # }}}

6
debian/changelog vendored
View File

@ -1,4 +1,4 @@
ikiwiki (1.28) UNRELEASED; urgency=low
ikiwiki (1.28) unstable; urgency=low
* inline: Add ability to sort by page name, based on a patch from
Benjamin A'Lee.
@ -6,8 +6,10 @@ ikiwiki (1.28) UNRELEASED; urgency=low
braindead interface. Closes: #389383
* Don't rm -rf ikiwiki on distclean, since a) there's no such file
and b) those poor Mac OSX users and their case insensative files!
* Don't fail syntax check if Text::Typography isn't installed.
Closes: #389406
-- Joey Hess <joeyh@debian.org> Mon, 25 Sep 2006 17:40:48 -0400
-- Joey Hess <joeyh@debian.org> Tue, 26 Sep 2006 02:08:17 -0400
ikiwiki (1.27) unstable; urgency=low