Merge pull request #438 from franzholz/patch-2

Update Table.php: Always close th as th
This commit is contained in:
Progi1984 2014-12-03 17:06:17 +01:00
commit a15573b420

View File

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