fixed bug where encodeForm would duplicate \n newlines (wahhhh!)
This commit is contained in:
parent
f5402ee06f
commit
d795dfbb48
1 changed files with 2 additions and 2 deletions
|
@ -269,8 +269,8 @@ public final class HtmlEncoder {
|
||||||
ret.append ('\n');
|
ret.append ('\n');
|
||||||
if (encodeNewline) {
|
if (encodeNewline) {
|
||||||
ret.append ("<br>");
|
ret.append ("<br>");
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (c < 160)
|
if (c < 160)
|
||||||
ret.append ((char) c);
|
ret.append ((char) c);
|
||||||
|
|
Loading…
Add table
Reference in a new issue