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 许可。 |