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

Docx is generating only half document. #205

Closed
DVGY opened this issue Apr 26, 2021 · 2 comments
Closed

Docx is generating only half document. #205

DVGY opened this issue Apr 26, 2021 · 2 comments

Comments

@DVGY
Copy link

DVGY commented Apr 26, 2021

I am using docx-template and nodejs

It successfully generates the doc file. Just now it has started generating doc file with half pages.
All the pages after page number 16 are missing.

Please help

@DVGY
Copy link
Author

DVGY commented Apr 26, 2021

Update:
The issue I found was +++INS $value ++%+ unfortunately this did not give me an error. Also all the page after this line were not included in the report

I changed above to +++INS $value +++ and it worked

+++FOR data IN Array+++
+++INS $data ++%+
+++END-FOR data+++

@jjhbw
Copy link
Collaborator

jjhbw commented Apr 28, 2021

Thanks for posting the solution! I think this is related to #180. I'll close this issue as it is very similar.

@jjhbw jjhbw closed this as completed Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants