diff --git a/core/src/processing/data/Table.java b/core/src/processing/data/Table.java index 2f098c179..39ab885f9 100644 --- a/core/src/processing/data/Table.java +++ b/core/src/processing/data/Table.java @@ -1117,8 +1117,11 @@ public class Table { protected void writeHTML(PrintWriter writer) { - writer.println(""); + writer.println(""); +// writer.println(""); +// writer.println(""); + writer.println(""); writer.println("
"); writer.println(" "); writer.println(""); @@ -1163,16 +1166,15 @@ public class Table { writer.print(">"); } else if (c == '&') { writer.print("&"); - } else if (c == '\'') { - writer.print("'"); +// } else if (c == '\'') { // only in XML +// writer.print("'"); } else if (c == '"') { writer.print("""); - // not necessary with UTF-8? -// } else if (c < 32 || c > 127) { -// writer.print(""); -// writer.print((int) c); -// writer.print(';'); + } else if (c < 32 || c > 127) { // keep in ASCII or Tidy complains + writer.print(""); + writer.print((int) c); + writer.print(';'); } else { writer.print(c);