Open gitowiec opened 3 years ago
Interesting, can you share your template? Or at least a minimal docx file I can repro this with.
Here is my template, please debug it
Prawne-oswiadczenie-PDOP-VAT.docx
PS: I forgot to bring back asterisks, you have to add them on your own @jjhbw before every ch1, ch2, ch3 (seems obvious)
Your template seems correct. Its probably an issue with listCommands not recognizing ALIAS referencing commands (*).
On Fri, 18 Dec 2020 at 13:11, Marek notifications@github.com wrote:
Here is my template, please debug it
Prawne-oswiadczenie-PDOP-VAT.docx https://github.com/guigrpa/docx-templates/files/5715532/Prawne-oswiadczenie-PDOP-VAT.docx
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/guigrpa/docx-templates/issues/178#issuecomment-748052657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC37OQHWCXGDCXPVNPPYODTSVNBIJANCNFSM4VBCIFKA .
I would appreciate it if you could report that bug. Note that you're of course free to ditch this library, thats the beauty of open source.
I get
Here is how my Word template looks:
When I remove asterisks from aliases (change +++*ch1+++ to +++ch1+++) I get this result: