code: public static String htmlEncode(String content) {
  		if (null == content) {
  			return "";
  		}
  		return content.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;");
  	}
docs: Replaces & into {@literal &amp;}, < into {@literal &lt;} and > into {@literal &gt;}.
  
  @param content content to encode
  @return the encoded content