mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
Xpath accept slightly malformed xml (html)
This commit is contained in:
parent
a3b873fd96
commit
5001adf221
@ -52,12 +52,6 @@ class XPathExpression extends Operation {
|
|||||||
try {
|
try {
|
||||||
doc = new xmldom.DOMParser({
|
doc = new xmldom.DOMParser({
|
||||||
errorHandler: {
|
errorHandler: {
|
||||||
warning(w) {
|
|
||||||
throw w;
|
|
||||||
},
|
|
||||||
error(e) {
|
|
||||||
throw e;
|
|
||||||
},
|
|
||||||
fatalError(e) {
|
fatalError(e) {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user