From ca664a53d7c90f90ed5312db6bce159bc4182c59 Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Wed, 3 Dec 2014 17:01:27 +0100 Subject: [PATCH] Update Table.php You must not open a and close it as a . read http://www.w3schools.com/tags/tag_th.asp --- src/PhpWord/Writer/HTML/Element/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpWord/Writer/HTML/Element/Table.php b/src/PhpWord/Writer/HTML/Element/Table.php index c8813a67..9027603b 100644 --- a/src/PhpWord/Writer/HTML/Element/Table.php +++ b/src/PhpWord/Writer/HTML/Element/Table.php @@ -51,7 +51,7 @@ class Table extends AbstractElement $cellTag = $tblHeader ? 'th' : 'td'; $content .= "<{$cellTag}>" . PHP_EOL; $content .= $writer->write(); - $content .= '' . PHP_EOL; + $content .= "" . PHP_EOL; } $content .= '' . PHP_EOL; }