Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
h タグ内で変数をレンダリングしようとしています。
これを行う方法を提案するドキュメントの例は見たことがありません。
残念ながら、これは機能しません:
<h1 th:text="${h1Var}"></h1>
テキストを span タグでラップし、スパン内で th:text を使用する必要があります。これを回避する方法はありますか?
編集:2.0.16での作業