Open dvd0101 opened 5 years ago
This PR fixes two bugs and add a new test.
lib/loader.js takes in account the xmlnsTest option only if it was a string (and discard it if it is a regexp instance).
Moreover the xmlnTest option is passed to the filter as is (a regexp instance) but remove-xmlns-props wants an object with the test attribute.
test
This PR fixes two bugs and add a new test.
lib/loader.js takes in account the xmlnsTest option only if it was a string (and discard it if it is a regexp instance).
Moreover the xmlnTest option is passed to the filter as is (a regexp instance) but remove-xmlns-props wants an object with the
test
attribute.