随笔分类 -  Thymeleaf

摘要:[[]]或[()]在Thymeleaf中被认为是 text inlined expressions 文本内联表达式,用于在纯文本中输出表达式值。在它们内部,我们可以使用任何类型的表达式,这些表达式在 th:text 或 th:utext 属性中也是有效的。 注意: [[${}]] 对应于 th:te 阅读全文
posted @ 2022-03-02 17:25 翠微 编辑
摘要:1、使用反斜杠进行转义 <span th:text="{title}" th:style="'font-family:\'MY_FONT_' +{id} + '\''"></span> 2、使用文本替换语法 Literal substitutions表达式允许出现单引号且不需要转移 <span 阅读全文
posted @ 2022-03-02 13:50 翠微 编辑
摘要:【Thymeleaf】使用学习 javacc、antlr、jflex 使用 attoparser 解析 https://www.attoparser.org/ 1、spring boot 整合 Thymeleaf 2、spring security 使用 3、文本语法,没有 html 标签 4、标签 阅读全文
posted @ 2020-02-08 11:02 翠微 编辑

点击右上角即可分享
微信分享提示