PHPWord icon indicating copy to clipboard operation
PHPWord copied to clipboard

[BUGFIX] Ensure nested `w:sdt -> w:sdtContent` node parsing for Document

Open sbuerk opened this issue 1 year ago • 1 comments

Nodes can be nested or directly provided for the document structure. Until now, the sdt->sdtContent wrapping have not been respected.

This change moves the node parsing for a document to a dedicated method and make it recursivly callable to unnest the wrapped node.

sbuerk avatar Apr 02 '24 12:04 sbuerk

Coverage Status

coverage: 97.136% (-0.08%) from 97.217% when pulling bf402949989293efa8f86d382b247528b001f414 on sbuerk:stefan-3 into 8b891bb6842dd383f679b47898fad0b7c181f325 on PHPOffice:master.

coveralls avatar Apr 02 '24 12:04 coveralls