fixed bug where encodeForm would duplicate \n newlines (wahhhh!)

This commit is contained in:
hns 2001-07-11 15:22:34 +00:00
parent f5402ee06f
commit d795dfbb48

View file

@ -269,8 +269,8 @@ public final class HtmlEncoder {
ret.append ('\n');
if (encodeNewline) {
ret.append ("<br>");
break;
}
break;
default:
if (c < 160)
ret.append ((char) c);