Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1089
  • Last Modified:

StringEscapeUtils.escapeHtml4 not escaping the HTML tags

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
Sathish David  Kumar N
Asked:
Sathish David  Kumar N
1 Solution
 
CEHJCommented:
 

Open in new window

is what you should get
0
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
Your not after    StringEscapeUtils.unescapeHtml4(" ");   are you? That will return a single space character.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now