Kawai Wiki

Compare Revisions

Ignore whitespace Rev 197 → Rev 198

/trunk/src/main/java/org/kawai/tag/kcode/Code.java
59,7 → 59,7
* @param html String
* @return String
*/
private String escapeAngleBrackets(String html) {
public static String escapeAngleBrackets(String html) {
String s = Regex.sub(html, "s/\\</\\&lt\\;/g");
s = Regex.sub(s, "s/\\>/\\&gt\\;/g");
return s;