public static String changehtml(String str) {
		String change = "";
		if (str != null && !str.equals("")) {
			change = str.replace("&", "&amp;");
			change = change.replace(" ", "&nbsp;");
			change = change.replace("<", "&lt;");
			change = change.replace(">", "&gt;");
			change = change.replace("\"", "&quot;");
			change = change.replace("\r\n", "<br>");
		}
		return change;
	}