Skip to content
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

Prevent cyclic imports #199

Open
alarbada opened this issue Sep 6, 2022 · 0 comments
Open

Prevent cyclic imports #199

alarbada opened this issue Sep 6, 2022 · 0 comments

Comments

@alarbada
Copy link

alarbada commented Sep 6, 2022

Cyclic imports add an infinite loop in the latest jet version.

Edit:

This:

<!-- file test1.html -->
{{ import "./test2.html" }}
<p> hi </p>

<!-- file test2.html -->
{{ import "./test1.html" }}
<p> hello </p>

Makes jet go into an infinite loop when executing one of these templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant