Thymeleaf 3.0.4、3.0.5 发布,HTML 5 模板引擎

来源: 投稿
作者: 愚_者
2017-03-31 10:38:00

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.

展开阅读全文
精彩评论
看到没有评价,我来给一个评论: 可以使用beetl模板引擎😄
2017-03-31 10:49
5
举报

引用来自“DevLeon”的评论

这货要强制校验HTML标签格式,丧心病狂
python要求强制缩进,丧心病狂的代表
2017-03-31 13:42
3
举报
这货要强制校验HTML标签格式,丧心病狂
2017-03-31 12:18
1
举报
11 收藏
分享
18 评论
11 收藏
分享
返回顶部
顶部