发布于 2017-03-31 03:25:34 | 222 次阅读 | 评论: 0 | 来源: 网友投递
Thymeleaf HTML5模板引擎
Thymeleaf是一个XML/XHTML/HTML5模板引擎,可用于Web与非Web环境中的应用开发。它是一个开源的Java库,基于Apache License 2.0许可,由Daniel Fernández创建,该作者还是Java加密库Jasypt的作者。
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.