Merge pull request #1085 from Boulea7/fix/jsonml-keep-strings-entities

Fix JSONML text double decoding with keepStrings
This commit is contained in:
Sean Leary
2026-10-08 10:16:18 -05:00
committed by GitHub
2 changed files with 93 additions and 1 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ public class JSONML {
if (token instanceof String) {
String strToken = (String) token;
if (config.isKeepStrings()) {
value = XML.unescape(strToken);
value = strToken;
} else {
value = XML.stringToValue(strToken);
}