To suport preseve text inside sub container
if we use preseve text inside table, issue fix https://stackoverflow.com/questions/33070424/phpword-cannot-add-preservetext-in-section
This commit is contained in:
parent
7b7d4e4936
commit
b209fec72b
|
|
@ -254,7 +254,7 @@ abstract class AbstractContainer extends AbstractElement
|
|||
// Special condition, e.g. preservetext can only exists in cell when
|
||||
// the cell is located in header or footer
|
||||
$validSubcontainers = array(
|
||||
'PreserveText' => array(array('Cell'), array('Header', 'Footer')),
|
||||
'PreserveText' => array(array('Cell'), array('Header', 'Footer', 'Section')),
|
||||
'Footnote' => array(array('Cell', 'TextRun'), array('Section')),
|
||||
'Endnote' => array(array('Cell', 'TextRun'), array('Section')),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue