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');
|
||||
if (encodeNewline) {
|
||||
ret.append ("<br>");
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (c < 160)
|
||||
ret.append ((char) c);
|
||||
|
|
Loading…
Add table
Reference in a new issue