A working Java project that uses Spring Boot and Thymeleaf to return compact HTML content. Configurable with application properties and with build-time tests.
Read more about this project at Medium.com
mvn clean install
java -jar target/thymeleafwhitespace-0.0.1-SNAPSHOT.jar
curl -i http://localhost:8080/
- gets the example page. Note the lack of white space in head
for example
This project uses a handler and processor based on this Thymeleaf-related Github post from Yamani Rodriguez.