Skip to content

Token replacement via PhpWord with setComplexValue() #30

@jensschuppe

Description

@jensschuppe

Instead of replacing the entire paragraph (or: PhpWord element) that contains a token with its content (when it contains HTML that converts to multiple OOXML elements), the element should be split around the token. This is what \PhpOffice\PhpWord\TemplateProcessor::setComplexValue() seems to be doing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus:fixedThe issue has been resolved (usually by committing/merging code)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions