Skip to content

Docs: subdocs need the paragraph tag - #180

Merged
cvas22 merged 1 commit into
mainfrom
port/upstream-671
Nov 22, 2026
Merged

cvas22 merged 1 commit into
mainfrom
port/upstream-671

Conversation

@cvas22

@cvas22 cvas22 commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Port of my upstream PR elapouya/python-docx-template#671. It explains that a subdoc has to go in with {{p mysubdoc }} alone in its paragraph. A plain {{ mysubdoc }} leaves an empty paragraph behind, and with other content in that paragraph Word can refuse the file. Docs only.

Fixes #125
Fixes #129

@cvas22 cvas22 added port Port of an upstream python-docx-template change documentation Improvements or additions to documentation labels Nov 22, 2026
Signed-off-by: Srinivas Chippagiri <cvas22@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation port Port of an upstream python-docx-template change

Projects

None yet

1 participant