title: how to use thymeleaf replace text in html
body: <p>how to use thymeleaf replace text in html</p>
  
  <p>i have tried</p>
  
  <pre><code>&lt;a&gt;&lt;i class="fa fa-home" th:text="${menuItem.name}" &gt;&lt;/i&gt;  &lt;span class="fa fa-chevron-down"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>then get result </p>
  
  <pre><code>&lt;a&gt;&lt;i class="fa fa-home"&gt;Menu&lt;/i&gt;  &lt;span class="fa fa-chevron-down"&gt;&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>i want get result like:</p>
  
  <pre><code>&lt;a&gt;&lt;i class="fa fa-home"&gt;&lt;/i&gt; Home &lt;span class="fa fa-chevron-down"&gt;&lt;/span&gt;
  </code></pre>