Programming Tips - Java: Make some text safe to display on a web page

Date: 2014sep8 Language: Java Q. Java: Make some text safe to display on a web page A. Use:
okForWeb = StringHelper.escapeHTML("some text & things");
Download it here https://ostermiller.org/utils/src/StringHelper.java.html GPL license