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:
parent
8dcbc92df6
commit
ca664a53d7
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue