how can I change my Html into SafeHtml
Html htmlText = new Html();
htmlText.setText(result.getText());
I am saving a resume in my htmlText, but I want to save it as SafeHtml
how can I convert the above html into safehtml ?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at
com.google.gwt.safehtml.shared.SafeHtmlUtils, this class provides utility methods for creating SafeHtml, the simplest way to solve your problem is to use