Skip to content

Commit c97122b

Browse files
authored
Merge pull request #2451 from PHPOffice/pr2335
HTML Writer : Added border-spacing to default styles for table
2 parents a9fc5f8 + 36b9af6 commit c97122b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1212
- HTML Reader : Support for `font-variant: small-caps` by @cambraca in #2117
1313
- Improved TextDirection for styling a cell by @terryzwt in #2429
1414
- Word2007 Reader : Added option to disable loading images by @aelliott1485 in #2450
15+
- HTML Writer : Added border-spacing to default styles for table by @kernusr in #2451
16+
1517
### Bug fixes
1618

1719
- Fixed wrong mimetype for docx files by @gamerlv in #2416

src/PhpWord/Writer/HTML/Part/Head.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ private function writeStyles()
101101
'table' => [
102102
'border' => '1px solid black',
103103
'border-spacing' => '0px',
104+
'border-collapse' => 'collapse',
104105
'width ' => '100%',
105106
],
106107
'td' => [

0 commit comments

Comments
 (0)