2016-10-09 5 views
1

Thymeleaf 방언 안에 Thymeleaf 방언을 사용하고 싶지만 할 수 없습니다. 나는이 시도했지만 잘 작동하지 않았다 : h2Thymeleaf 방언의 Thymeleaf 방언

<h2 th:text="|${response.name} has: |"> 
Dunie has: 
    <span th:text="|-${response.size}-|" class="paleo">-4-</span> 
</h2> 

th:text는 그 안에 모든 것을 제거합니다. 렌더링 후 다음과 같은 것을 얻고 싶습니다.

<h2> 
Philie has: 
    <span class="paleo">-3-</span> 
</h2> 

그래서 어떻게하면 될까요?

답변