-
-
Notifications
You must be signed in to change notification settings - Fork 35
[BUG] xlsx-renderer: When iterates on empty collection it leaves garbages #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Siemienik I have notice another issue, if the array in the view model data is empty, the variables of the loop section are not removed and they are just placed in the generated file. |
@Siemienik It seems like the issue is caused by empty arrays on which we try perform the loop. |
Any update on this issue? |
Thanks for refresh this topic, will investigate soon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using template with nested loops, the expected file is generated correctly however few renderer variables (in this case
!# END_LOOP item
and!# FINISH
) are not removed from the generated file.(@Siemienik EDIT): Reproduce:
sxr --model vm.json template.xlsx > result.xlsx
The text was updated successfully, but these errors were encountered: