StringEscapeUtils.escapeHtml4 not escaping the HTML tags

Sathish David  Kumar N
Sathish David  Kumar N used Ask the Experts™

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

can you tell me why its not happen ?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016


Open in new window

is what you should get
IT Business Systems Analyst / Software Developer
Top Expert 2015
Your not after    StringEscapeUtils.unescapeHtml4(" ");   are you? That will return a single space character.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial