You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: