Skip to content

Commit

Permalink
fixed parsing problem with & in DIDL objects
Browse files Browse the repository at this point in the history
tobexyz committed Sep 17, 2024
1 parent fb6c888 commit 386294c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ public DIDLContent parse(String xml) throws Exception {
createRootHandler(content, this);

Log.d(getClass().getName(), "Parsing DIDL XML content");
parse(new InputSource(new StringReader(xml)));
parse(new InputSource(new StringReader(xml.replaceAll("&", "&"))));
return content;
}

0 comments on commit 386294c

Please sign in to comment.