File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ private static Object parse(
175175 if (!(token instanceof String )) {
176176 throw x .syntaxError ("Missing value" );
177177 }
178- newjo .accumulate (attribute , keepStrings ? token :XML .stringToValue ((String )token ));
178+ newjo .accumulate (attribute , keepStrings ? XML . unescape (( String ) token ) :XML .stringToValue ((String )token ));
179179 token = null ;
180180 } else {
181181 newjo .accumulate (attribute , "" );
@@ -226,7 +226,7 @@ private static Object parse(
226226 } else {
227227 if (ja != null ) {
228228 ja .put (token instanceof String
229- ? keepStrings ? token :XML .stringToValue ((String )token )
229+ ? keepStrings ? XML . unescape (( String ) token ) :XML .stringToValue ((String )token )
230230 : token );
231231 }
232232 }
You can’t perform that action at this time.
0 commit comments