I found a regression introduced since v4.12.0, table cells that contains a condition that is evaluated as falsy are removed when templating (it was not the case in v4.11.5)
Steps to reproduce
NOTE: my delimiter is ##
I have a table in my docx file that looks like this :
In v4.11.5 the cells are empty (because the condition is falsy), that's what we want :
But when I upgraded to v4.13.0 I found that this was not quite the case anymore :
After investigating, v4.12.0 seems to be the culprit.
What
I found a regression introduced since v4.12.0, table cells that contains a condition that is evaluated as falsy are removed when templating (it was not the case in v4.11.5)
Steps to reproduce
NOTE: my delimiter is
##
I have a table in my docx file that looks like this :In v4.11.5 the cells are empty (because the condition is falsy), that's what we want :
But when I upgraded to v4.13.0 I found that this was not quite the case anymore :
After investigating, v4.12.0 seems to be the culprit.
Code
output-4.11.5.docx output-4.13.0.docx template.docx