0

我想将字符串转换<p>&uuml;&egrave;</p><p>üé</p>,但StringEscapeUtils.unescapeHtml4()(from org.apache.commons.text) 和HtmlUtils.unescapeHtml()(from org.springframework.web.util) 都将其转换为&lt;p&gt;üè&lt;/p&gt;. 有没有办法保持现有的 html 标签完好无损?

4

0 回答 0