Test cycle re-render behaviour
|Reported by:||Stephen Kelly||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In theory a compiled template should render to the same output each time it is rendered with the same Context.
When a template is rendered several times with a cycle tag, it does not render the same way each time. I think this might be an unsolvable issue because the CycleNode doesn't know when the template starts to be rendered the second time so that it can reset its cycle_iter variable.
If there are no better ideas on how to reset it, this should probably be documented.
All the best,