diff options
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/table.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm index e8df17487..02a2ba05d 100644 --- a/IkiWiki/Plugin/table.pm +++ b/IkiWiki/Plugin/table.pm @@ -78,7 +78,7 @@ sub preprocess (@) { #{{{ push @lines, "\t<thead>", genrow($params{page}, $params{destpage}, "th", @$header), "\t</thead>" if defined $header; - push @lines, "\t<tbody>"; + push @lines, "\t<tbody>" if defined $header; push @lines, genrow($params{page}, $params{destpage}, "td", @$_) foreach @data; push @lines, "\t</tbody>" if defined $header; |