Andreas Hager
Andreas Hager
@tschuehly you can do `new MyAlpineHtmxHtmlTemplateOutput(stringOutput)` and pass this template output to `render()`
@nedtwigg in theorie yes, you could give it a try. For jte parts it should work, but I'm unsure how to format the underlying language (for instance HTML/JS/CSS). The `TemplateParser`...
I don't have time to work on it, but will leave it open as @nedtwigg suggested.
Hmm, the documentation says `Don't automatically include the Kotlin/JVM stdlib and Kotlin reflection into the classpath`, which sounded good to me, when I intitially added Kotlin support. However, I'm not...
@tschuehly this is because jte by default only allows writing into safe slots of a template. The parser expects to find an attribute name within this div. This needs to...
No there is not. The parser is already quite complex and I fear opening this rabbit hole would make everything a lot harder to maintain, while the benefit to it...
Moved to intellij plugin
Hi @mibutec, the ideal solution for this would be to precompile jte templates in your build process. This way they can be deployed to the readonly Kubernetes filesystem like regular...
Thanks for sharing. I'm quite happy with the current jte implementation though. It is very easy to understand, quite fast and does not do any memory allocations. https://github.com/casid/jte/blob/main/jte-runtime/src/main/java/gg/jte/html/escape/Escape.java
Thanks for the update @agentgt. I followed IntelliJ's recommendation and migrated to the new switch expression, when jte 3 required Java 17 as minimum version. If I read your benchmark...