Thymeleaf 3.0.4 以及 3.0.5 发布,更新内容如下:
3.0.5
Fixed bad interaction of literal parsing in javascript inlining introduced in 3.0.4, causing inlined expressions containing literals ('...') to not be adequately parsed, and therefore not executed at all.
3.0.4
Fixed possible bad parsing of comment start/end delimiters in JavaScript and CSS inlining when the 2K buffer used at the Text Parser happened to end in the middle of a JavaScript/CSS text literal.
Fixed bad behaviour of th:remove="all-but-first" in combination with a th:each on a zero-element collection.
Fixed custom HTML5 elements with no suffix in their names ("<tag->", which are allowed by the Custom Element spec) provoking an exception.
Improved startup times at the template engine by means of lazy initialization of dialect artifacts.
Added '/content()' selector to Markup Selector syntax so that the whole contents of a fragment can be selected, excluding the matched tag.
Updated AttoParser dependency to 2.0.3.RELEASE.
引用来自“DevLeon”的评论
这货要强制校验HTML标签格式,丧心病狂