1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Thymeleaf 3.0.2 发布,HTML 5 模板引擎 下载

本帖由 漂亮的石头2016-10-09 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,979
    赞:
    47
    Thymeleaf 3.0.2发布了,Thymeleaf 是一个XML/XHTML/HTML5模板引擎,可用于Web与非Web环境中的应用开发。

    Thymeleaf提供了一个用于整合Spring MVC的可选模块,在应用开发中,你可以使用Thymeleaf来完全代替JSP,或其他模板引擎,如Velocity、FreeMarker等。 Thymeleaf的主要目标在于提供一种可被浏览器正确显示的、格式良好的模板创建方式,因此也可以用作静态建模。你可以使用它创建经过验证的XML与 HTML模板。相对于编写逻辑或代码,开发者只需将标签属性添加到模板中即可。

    本次更新日志:

    - Fixed <head> being aggressively auto-closed by block tags inside <script> or <template> tags, which
    caused JavaScript template fragments to be incorrectly inserted from other templates.
    - Fixed Jackson not escaping '</' in JavaScript/JSON literals, which could allow code injection that
    prematurely closed </script> tags when browsers display pages in HTML mode.
    - Fixed JavaScript/JSON literals not escaping amperand (&), which could allow code injection that
    prematurely closed </script> tags when browsers display pages in XHTML (application/xhtml+xml) mode.
    - Improved error handling during Jackson initialization.
    - Updated AttoParser dependency to 2.0.1.RELEASE.
    - Updated Unbescape dependency to 1.1.4.RELEASE.
    - Updated OGNL dependency to 3.1.10, removed direct dependency on javassist.

    下载地址:http://www.thymeleaf.org/download.html
    Thymeleaf 3.0.2 发布,HTML 5 模板引擎下载地址
     
正在加载...