I want to convert the string <p>üè</p> to <p>üé</p>, but both StringEscapeUtils.unescapeHtml4() (from org.apache.commons.text) and HtmlUtils.unescapeHtml() (from org.springframework.web.util) convert it to <p>üè</p>. Is there a way to keep existing html tags intact?
Asked
Active
Viewed 39 times
0
Nickkk
- 2,261
- 1
- 25
- 34
üè
")` returned `üè
` for me. – Xavi López Jan 13 '20 at 12:22