Solved

StringEscapeUtils.escapeHtml4  not escaping the HTML tags

Posted on 2014-11-19
2
870 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 40452104
 

Open in new window

is what you should get
0
 
LVL 36

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

705 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