docx-templates
Advanced tools
Changelog
4.11.4 (2024-01-12)
Object
types of runJs
arguments.eval()
internally.ObjectCommandResultError
. When a ObjectCommandResultError
is thrown, this change attaches the computed result to the error in case a custom error handler wants to use it for some reason. (thanks @emilong!)Buffer
polyfill.Changelog
4.11.3 (2023-08-08)
InvalidCommandError
referring to 'Unexpected END-IF outside of IF statement context:'
when the problem was actually an unexpected END-FOR
. Thanks @davidjbUnterminatedForLoopError
when FOR
loop is not properly terminated with an END-FOR
.timm
).jszip
dependency to latest version.Changelog
4.11.0 (2023-03-02)
processLineBreaksAsNewText
toggle which provides an alternative way of inserting line breaks from commands into the docx XML. This should improve rendering of newlines in a few docx readers, like LibreOffice. (PR #182). Thanks @khaled-iva-docs !Changelog
4.10.0 (2023-02-03)
listCommands()
), see commit 8b2ba5526df78da675eaf59f88cb76035ffac5bd.