Script tag race condition

I was experimenting with a script tag and noticed that I can get the binary to stuck above 1k% CPU if div/etc is declared inside. Potentially, this could be encountered via poor codegen so an exception/error might be useful.

Do you have a link to a repo and a version of Zola that could be used to reproduce the issue? Also, your OS.

zola 0.19.1/2, FBSD 14.1.