HTML entity word escape typo because the quot is with e in english

This commit is contained in:
Willem Cazander 2025-01-17 15:13:55 +01:00
parent f7fc31812e
commit 95ff5c1745

View file

@ -279,7 +279,7 @@ public final class XMLConstants {
return true;
}
if (codePoint == '\"') {
result.append("&quote;");
result.append(""");
return true;
}
if (codePoint == '\'') {
@ -376,7 +376,7 @@ public final class XMLConstants {
if ("<".equals(entity)) { return true; }
if (">".equals(entity)) { return true; }
if ("&".equals(entity)) { return true; }
if ("&quote;".equals(entity)) { return true; }
if (""".equals(entity)) { return true; }
if ("'".equals(entity)) { return true; }
// HTML