From: <var...@us...> - 2010-11-08 13:09:36
|
Revision: 7728 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7728&view=rev Author: vargenau Date: 2010-11-08 13:09:29 +0000 (Mon, 08 Nov 2010) Log Message: ----------- Allow extra "|-" anywhere Modified Paths: -------------- trunk/lib/plugin/MediawikiTable.php Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2010-11-08 09:53:28 UTC (rev 7727) +++ trunk/lib/plugin/MediawikiTable.php 2010-11-08 13:09:29 UTC (rev 7728) @@ -123,13 +123,15 @@ $row->pushContent($cell); unset($cell); } - if (isset($thead)) { + if (!empty($row->_content)) { + if (isset($thead)) { $thead->pushContent($row); $table->pushContent($thead); unset($thead); $tbody = HTML::tbody(); - } else { + } else { $tbody->pushContent($row); + } } } $row = HTML::tr(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |