I used SafeHtmlUtils.htmlEscape(text) and I want to use opposite function. Could you tell me if in gwt there is function like unescapeHtml()
If (and please only if) you can trust the text not to contain malicious content, you can use
import com.google.gwt.user.client.ui.HTML;
String unescaped = new HTML(text).getText();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With