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

FOR loop inside list causes surrounding text to appear at each iteration #279

Open
GiordanoArman opened this issue Jul 17, 2022 · 1 comment
Labels

Comments

@GiordanoArman
Copy link

GiordanoArman commented Jul 17, 2022

Hi,

here's a repo where you can reproduce the issue: https://github.com/GiordanoArman/docx-templates-nested-table-bug

Basically when there's a FOR loop inside a list
template

the iteration includes the surrounding text as well and the list numeration disappears
wrong output

it happens in the browser (within a web worker) and also in the Node.js repo you find above.

@GiordanoArman GiordanoArman changed the title Dynamic table iteration inside list causes surrounding text to appear at each iteration FOR loop inside list causes surrounding text to appear at each iteration Jul 17, 2022
@jjhbw jjhbw added the triage label Aug 22, 2022
jjhbw added a commit that referenced this issue Nov 1, 2022
… in the XML tree manipulation routine and its existence is not justified.
jjhbw added a commit that referenced this issue Nov 1, 2022
… in the XML tree manipulation routine and its existence is not justified.
jjhbw added a commit that referenced this issue Nov 1, 2022
… in the XML tree manipulation routine and its existence is not justified.
@tam-endue
Copy link

I'm facing this issue too
image

The "medication" title is included in every iteration of FOR, unless I add a blank line in between

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants