jte
jte copied to clipboard
Secure and speedy templates for Java and Kotlin.
I wanted to get this on your radar though I can't guarantee I'll actually work on it any time soon. I like JTE for being able to pre-generate templates into...
Hey everyone, just curious if you use jte on your projects and what for? I'll make a start - I use jte for HMTL rendering of - the jte website:...
It would be nice to to have a setting to produce compressed ouput for HTML templates, by removing all unneeded indentations from the output. For instance this template: ```html @if(true)...
We should define a security model, see e.g. https://golang.org/pkg/html/template/#hdr-Security_Model
Just trying to run an application using jte in our Kubernetes Cluster. As we have to use read-only filesystem in our containers I get ``` ... Caused by: java.io.UncheckedIOException: java.nio.file.FileSystemException:...
Currently If I put an expression in the html next to an attribute: ``` @if( item.action instanceof HTMXAction action) @endif ``` I get this error `Illegal HTML attribute name ${action}!...
According [to the documentation of Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#web.servlet.spring-mvc.error-handling.error-pages) it is possible to define templates that should be used when a specific HTTP status code occurs. I have noticed when I place...
I'm trying to receive the data from a form submitted as a POST request. Currently my workaround is to get the values from `HttpServletRequest request` and its parameter map. But...
Backticks in comments end the content block, causing a compile error. ``` !{var content = @`Hello there!`;} ${content} ```
@casid as promised I wanted to share with you some potential optimizations I found while modernizing JMustache (a runtime based Mustache engine) escaping. https://github.com/jstachio/escape-benchmark The benchmark just tests escaping algorithms...