Update Table.php

You must not open a <th> and close it as a </td>.
read http://www.w3schools.com/tags/tag_th.asp
This commit is contained in:
Franz Holzinger 2014-12-03 17:01:27 +01:00
parent 8dcbc92df6
commit ca664a53d7
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Table extends AbstractElement
$cellTag = $tblHeader ? 'th' : 'td'; $cellTag = $tblHeader ? 'th' : 'td';
$content .= "<{$cellTag}>" . PHP_EOL; $content .= "<{$cellTag}>" . PHP_EOL;
$content .= $writer->write(); $content .= $writer->write();
$content .= '</td>' . PHP_EOL; $content .= "</{$cellTag}>" . PHP_EOL;
} }
$content .= '</tr>' . PHP_EOL; $content .= '</tr>' . PHP_EOL;
} }