Skip to content

Commit 17849b3

Browse files
authored
Merge pull request #1075 from slowprog/develop
Fix names of styles
2 parents f3f11cb + 2074d35 commit 17849b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Element/AbstractContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private function checkValidity($method)
211211
'TextBox' => array('Section', 'Header', 'Footer', 'Cell'),
212212
'Footnote' => array('Section', 'TextRun', 'Cell'),
213213
'Endnote' => array('Section', 'TextRun', 'Cell'),
214-
'PreserveText' => array('Header', 'Footer', 'Cell'),
214+
'PreserveText' => array('Section', 'Header', 'Footer', 'Cell'),
215215
'Title' => array('Section'),
216216
'TOC' => array('Section'),
217217
'PageBreak' => array('Section'),

0 commit comments

Comments
 (0)