SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using Spring you can simply call HtmlUtils.htmlEscape(String input) which will handle the '&' to '&' translation.
HtmlUtils.htmlEscape(String input)