Solved

StringEscapeUtils.escapeHtml4  not escaping the HTML tags

Posted on 2014-11-19
2
793 Views
Last Modified: 2014-11-23
Hi,

Any one please tell me StringEscapeUtils.escapeHtml4("&nbsp"); is not working for me its not escaping ...

can you tell me why its not happen ?
0
Comment
2 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 40452104
 

Open in new window

is what you should get
0
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 40453973
Your not after    StringEscapeUtils.unescapeHtml4(" ");   are you? That will return a single space character.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Open dialog with server side controls in it 3 47
jmeter usage 4 38
junit example issue 2 28
A responsive image gallery using flexbox 6 23
This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question