报告 Thymeleaf 3 中不再需要的 th:inline 特性。

从 Thymeleaf 3 开始,内联输出表达式 [[…]][(…)] 会在文本内容中评估,无需使用封闭 th:inline 特性。 该特性可以安全地移除。

示例:


<p th:inline="text">Hello, [[${name}]]!</p>

应用该快速修复后:


<p>Hello, [[${name}]]!</p>

该检查仅在项目目标为 Thymeleaf 3 时才会报告该特性。