Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
likeuntomurphy authored and eddturtle committed Jul 10, 2017
1 parent 9f1e387 commit fd3cc47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpWord/Writer/Word2007/Part/Settings.php
Expand Up @@ -106,7 +106,7 @@ private function getSettings()
'w:themeFontLang' => array('@attributes' => array('w:val' => 'en-US')),
'w:decimalSymbol' => array('@attributes' => array('w:val' => '.')),
'w:listSeparator' => array('@attributes' => array('w:val' => ';')),
'w:compat' => '',
'w:compat' => array(),
'm:mathPr' => array(
'm:mathFont' => array('@attributes' => array('m:val' => 'Cambria Math')),
'm:brkBin' => array('@attributes' => array('m:val' => 'before')),
Expand Down
1 change: 1 addition & 0 deletions tests/PhpWord/Writer/Word2007/Part/SettingsTest.php
Expand Up @@ -64,5 +64,6 @@ public function testCompatibility()

$path = '/w:settings/w:compat/w:compatSetting';
$this->assertTrue($doc->elementExists($path, $file));
$this->assertEquals($phpWord->getCompatibility()->getOoxmlVersion(), 15);
}
}

0 comments on commit fd3cc47

Please sign in to comment.