* @param value
* @param errorMessageList
* @return String with updated value if needed for safer HTML.
*/
public static String checkStringForHtmlSafeOnly(String valueName, String value, List<String> errorMessageList) {
ValidationErrorList vel = new ValidationErrorList();
value = defaultWebValidator.getValidSafeHTML(valueName, value, Integer.MAX_VALUE, true, vel);
errorMessageList.addAll(UtilGenerics.checkList(vel.errors(), String.class));
return value;
}