Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1
-
None
-
None
-
Operating System: All
Platform: PC
-
38569
Description
StringEscapeUtils.unescapeHtml skips the first entity after a standalone ampersand.
Code:
System.out.println(
StringEscapeUtils.unescapeHtml("test & ä ö")
);
Output:
test & ä ö
Expected output:
test & ä ö