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