chg: removed transformation to HTML entities, basically only supporting Unicode output (it’s 2015, I think it’s alright)
This commit is contained in:
parent
fc51cb398b
commit
ed8f6ce9b6
1 changed files with 5 additions and 2 deletions
|
@ -766,7 +766,8 @@ public final class HtmlEncoder {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (c < 128 || insideMacroTag) {
|
||||
|
||||
/*if (c < 128 || insideMacroTag) {
|
||||
ret.append(c);
|
||||
} else if ((c >= 128) && (c < 256)) {
|
||||
ret.append(transform[c - 128]);
|
||||
|
@ -774,7 +775,9 @@ public final class HtmlEncoder {
|
|||
ret.append("&#");
|
||||
ret.append((int) c);
|
||||
ret.append(";");
|
||||
}
|
||||
}*/
|
||||
|
||||
ret.append(c);
|
||||
|
||||
escape = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue