casid / jte

Secure and speedy templates for Java and Kotlin.
https://jte.gg
Apache License 2.0
748 stars 56 forks source link

The ` syntax in the <script> tag in a jte extension file doesn't work. #303

Closed stella6767 closed 8 months ago

stella6767 commented 9 months ago

.jte file in intellij

image

.html file in intellij

image

I'm not sure if this should be an issue here, but maybe there is a solution?

casid commented 9 months ago

You could put your script in a @raw section, to prevent jte from interfering with js.

https://jte.gg/html-rendering/#raw-output