Closed and-reas-se closed 4 months ago
Is page.html
necessary to trigger it?
Yes, if you do path = "base.html"
in lib.rs the cycle detection triggers properly.
Interesting. Checking what's going on.
Opened https://github.com/djc/askama/pull/1005. Thanks for the detailed issue! :)
Hello,
I ran into the same bug as is reported is issue #515. That issue was closed as solved in 2021, with some cycle detection added in, but I have a simple case the cycle detection fails to trigger on.
The following project will reproduce it, running cargo build never halts.
src/lib.rs
:templates/base.html
:templates/page.html
: