Skip to content

Commit

Permalink
Xpath accept slightly malformed xml (html)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfredBerg committed May 13, 2021
1 parent a3b873f commit 5001adf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/core/operations/XPathExpression.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ class XPathExpression extends Operation {
try {
doc = new xmldom.DOMParser({
errorHandler: {
warning(w) {
throw w;
},
error(e) {
throw e;
},
fatalError(e) {
throw e;
}
Expand Down

0 comments on commit 5001adf

Please sign in to comment.