Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token replacement via PhpWord with setComplexValue() #30

Closed
jensschuppe opened this issue Mar 22, 2023 · 1 comment
Closed

Token replacement via PhpWord with setComplexValue() #30

jensschuppe opened this issue Mar 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@jensschuppe
Copy link
Contributor

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.

@dontub
Copy link
Contributor

dontub commented Nov 8, 2024

Fixed by #62.

@dontub dontub closed this as completed Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants