From: Joey Hess Date: Tue, 2 Sep 2008 22:20:17 +0000 (-0400) Subject: use yesno X-Git-Tag: 2.63~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c022e2cd755508391cc866c11b146f0edf43762;p=ikiwiki.git use yesno --- diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm index 55d78a3e1..e782fc238 100644 --- a/IkiWiki/Plugin/table.pm +++ b/IkiWiki/Plugin/table.pm @@ -74,7 +74,7 @@ sub preprocess (@) { #{{{ } my $header; - if (lc($params{header}) eq "row" || lc($params{header}) eq "yes") { + if (lc($params{header}) eq "row" || IkiWiki::yesno($params{header})) { $header=shift @data; } if (! @data) {