Closed olivierSOW closed 4 months ago
I'm guessing you are using #comment as the merge tag in your template?
Because JavaScript uses # to denote private class methods, you will probably need to use a different delimiter. You may be able to use ##comment or, better still, something like {#comment#}.
Thanks @KAVA-Leigh , that sounds like a plausible reason! @olivierSOW if this does not solve your problem, please post a minimal reproducible example.
Thanx for your support, indeed, i had some code with # in the template, thanx for your quick support !
Hi,
I would like to use your code into browser. I include your browser.js in my webpage this way (i renamme browser.js to docx-templates.js)
in my top export.js file i add
importing the js file seems to be OK, but when i enter the function which use
createReport
function, i get immediatly this error stack:Could you help me ?