I encountered a bug in chevron (Python 3.7.0, chevron 0.12.2) where looping through nested arrays leads to an erroneous output. It appears as if the closing tag ({{/.}}) of an inner loop gets mixed up with the closing tag of an outer loop.
where the line --- /level 2 (I get lost sometimes) does not show up after the inner loop ended as long as the outer one is not finished. Whereas in the same example written in JS on JSFiddle it works as I would expect it to:
Hi,
I encountered a bug in chevron (Python 3.7.0, chevron 0.12.2) where looping through nested arrays leads to an erroneous output. It appears as if the closing tag (
{{/.}}
) of an inner loop gets mixed up with the closing tag of an outer loop.Running the code
with the template
outputs
where the line
--- /level 2 (I get lost sometimes)
does not show up after the inner loop ended as long as the outer one is not finished. Whereas in the same example written in JS on JSFiddle it works as I would expect it to: