Thymeleaf 3.0.6 發布,HTML 5 模板引擎

2020-12-17 開源中國

Thymeleaf 3.0.6 發布,更新內容如下:

- Fixed unclosed quote in JavaScript/CSS comments breaking parsing (wrongly considered literal starts).
- Fixed bad parsing of '/content()' selector (AttoParser) in some scenarios, leading to suboptimal execution of
  this type of fragment selection.
- Fixed prevent fragments without a signature being called with unnamed parameters.
- Added allowing template suffix to be applied only if template name doesn't already have a known file extension.
- Added application of template mode depending on template resource extension during resolution.
- Improved the way output content type and template mode relate to each other (made exclusive) in TemplateSpec.
- Improved instances of dynamic class loading by making references package-relative for better resilience
  to package renaming.
- Updated AttoParser dependency to 2.0.4.RELEASE.

Thymeleaf 是一個 XML/XHTML/HTML5 模板引擎,可用於 Web 與非 Web 環境中的應用開發。它是一個開源的 Java 庫,基於 Apache License 2.0 許可。

相關焦點