We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my original docx file I have a series of table that I surrounded with
${block_name}${/block_name}
then in my code I try to delete the unused block. the minute this operation is performed the resulting file is corrupt and cannot be opened.
we'd expect the table and variables to be deleted and the file to work properly.
$templateProcessor->deleteBlock('table2');
1.3
7.4
The text was updated successfully, but these errors were encountered:
A workaround, for now, is to use
$templateProcessor->cloneBlock('table2', 0);
Sorry, something went wrong.
No branches or pull requests
Describe the bug and add attachments
In my original docx file I have a series of table that I surrounded with
${block_name}${/block_name}
then in my code I try to delete the unused block. the minute this operation is performed the resulting file is corrupt and cannot be opened.
Expected behavior
we'd expect the table and variables to be deleted and the file to work properly.
Steps to reproduce
$templateProcessor->deleteBlock('table2');
PHPWord version(s) where the bug happened
1.3
PHP version(s) where the bug happened
7.4
Priority
The text was updated successfully, but these errors were encountered: