python-docx-template icon indicating copy to clipboard operation
python-docx-template copied to clipboard

remove SubdocComposer to use normal Composer to resolve blank page on…

Open tdaudi opened this issue 1 year ago • 0 comments

The purpose of this PR is to fix all the related issues to SubDoc

https://github.com/elapouya/python-docx-template/issues/537 and https://github.com/elapouya/python-docx-template/issues/520

By simply use the composer directly it does not change the merging behavior, but the merging process is done correctly and display the content normally.

The only edge case I have noticed is when a filter is set in Jinja environment to dynamically merge a document using a function. This still print a blank page. But I will open an issue for this problem as well.

tdaudi avatar May 21 '24 17:05 tdaudi