diff --git a/CHANGELOG.md b/CHANGELOG.md index 2439058f6f..39f71ddcea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). - HTML Reader : Support for `font-variant: small-caps` by @cambraca in #2117 - Improved TextDirection for styling a cell by @terryzwt in #2429 - Word2007 Reader : Added option to disable loading images by @aelliott1485 in #2450 +- HTML Writer : Added border-spacing to default styles for table by @kernusr in #2451 + ### Bug fixes - Fixed wrong mimetype for docx files by @gamerlv in #2416 diff --git a/src/PhpWord/Writer/HTML/Part/Head.php b/src/PhpWord/Writer/HTML/Part/Head.php index a2541aa4b0..6117f736e3 100644 --- a/src/PhpWord/Writer/HTML/Part/Head.php +++ b/src/PhpWord/Writer/HTML/Part/Head.php @@ -101,6 +101,7 @@ private function writeStyles() 'table' => [ 'border' => '1px solid black', 'border-spacing' => '0px', + 'border-collapse' => 'collapse', 'width ' => '100%', ], 'td' => [