Thymeleaf th:text - Put a text without removing HTML structures

后端 未结 4 711
名媛妹妹
名媛妹妹 2020-12-24 00:35

I\'m new in thymeleaf and I try to create a template. My problem is this code:

CODE

titl

4条回答
  •  生来不讨喜
    2020-12-24 01:26

    I faced the same problem. The answer is th:inline='text'

    This should solve your issue

    [[${header.title}]] Subtitle


    or you can also use th:remove="tag"

    title Subtitle

提交回复
热议问题