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

后端 未结 4 776
名媛妹妹
名媛妹妹 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:34

    Regardless of the semantics of tags, the correct answer is this one:

    title Subtitle

    In this way Thymeleaf removes de tag and the results is what you expect:

    TITLE SUBTITLE

    Regards!

提交回复
热议问题