chg: removed transformation to HTML entities, basically only supporting Unicode output (it’s 2015, I think it’s alright)

This commit is contained in:
Tobi Schäfer 2015-08-10 14:16:01 +02:00
parent fc51cb398b
commit ed8f6ce9b6

View file

@ -766,7 +766,8 @@ public final class HtmlEncoder {
break; break;
} }
} }
if (c < 128 || insideMacroTag) {
/*if (c < 128 || insideMacroTag) {
ret.append(c); ret.append(c);
} else if ((c >= 128) && (c < 256)) { } else if ((c >= 128) && (c < 256)) {
ret.append(transform[c - 128]); ret.append(transform[c - 128]);
@ -774,7 +775,9 @@ public final class HtmlEncoder {
ret.append("&#"); ret.append("&#");
ret.append((int) c); ret.append((int) c);
ret.append(";"); ret.append(";");
} }*/
ret.append(c);
escape = false; escape = false;
} }