This isn't necessarily a bug in Thymeleaf, but its something that has come up because of the way
Thymeleaf parses xml and then serializes it again slightly differently and I thought others might be
The problem is if you have a <script> tag that looks like this in a template:
This is a bug introduced in 1.1.0, as non-minimizable nodes were working perfectly in 1.0.1.
I'm already working on it, and will urgently release 1.1.1 in a matter of hours to fix it (I consider this a major bug, because other tags like "textarea" are also affected and could render some pages unusable).
I've just published Thymeleaf 1.1.1 fixing this bug, and updated all example applications in order to use it. Please allow one-two hours for the Maven repositories to sync (you can already download it from Sourceforge if you wish).
Thymeleaf 1.1.1 is a drop-in replacement for 1.1.0, as it is meant only to fix this minimizable-tag bug.