Skip to content

Commit

Permalink
fix: add capital D on xml parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
fatrex committed Jun 6, 2023
1 parent 8ce20de commit 2e0ba98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextdav.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default class nextdav implements Nextdav {
const parser = new XMLParser({
ignoreAttributes: false,
updateTag(tagName) {
return tagName.replace('d:', '');
return tagName.replace('d:', '').replace('D:', '');
},
});
return parser.parse(xmlData);
Expand Down

0 comments on commit 2e0ba98

Please sign in to comment.