From 3c022e2cd755508391cc866c11b146f0edf43762 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 2 Sep 2008 18:20:17 -0400 Subject: [PATCH] use yesno --- IkiWiki/Plugin/table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5