File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/PhpWord/Writer/Word2007/Part
tests/PhpWord/Writer/Word2007/Part Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ private function getSettings()
106106 'w:themeFontLang ' => array ('@attributes ' => array ('w:val ' => 'en-US ' )),
107107 'w:decimalSymbol ' => array ('@attributes ' => array ('w:val ' => '. ' )),
108108 'w:listSeparator ' => array ('@attributes ' => array ('w:val ' => '; ' )),
109- 'w:compat ' => '' ,
109+ 'w:compat ' => array () ,
110110 'm:mathPr ' => array (
111111 'm:mathFont ' => array ('@attributes ' => array ('m:val ' => 'Cambria Math ' )),
112112 'm:brkBin ' => array ('@attributes ' => array ('m:val ' => 'before ' )),
Original file line number Diff line number Diff line change @@ -64,5 +64,6 @@ public function testCompatibility()
6464
6565 $ path = '/w:settings/w:compat/w:compatSetting ' ;
6666 $ this ->assertTrue ($ doc ->elementExists ($ path , $ file ));
67+ $ this ->assertEquals ($ phpWord ->getCompatibility ()->getOoxmlVersion (), 15 );
6768 }
6869}
You can’t perform that action at this time.
0 commit comments