11.1. 标准的HTML/XML注释
可以在Thymeleaf模版的任何地方使用标准的HTML/XML注释<!-- ... -->
。Thymeleaf不会处理这些注释里的任何东西,只是一字不差地把它们复制到结果里:
<!-- User info follows -->
<div th:text="${...}">
...
</div>
Last updated
Was this helpful?
可以在Thymeleaf模版的任何地方使用标准的HTML/XML注释<!-- ... -->
。Thymeleaf不会处理这些注释里的任何东西,只是一字不差地把它们复制到结果里:
<!-- User info follows -->
<div th:text="${...}">
...
</div>
Last updated
Was this helpful?