Merge pull request #1085 from Boulea7/fix/jsonml-keep-strings-entities
Fix JSONML text double decoding with keepStrings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user