This commit contains following changes in lib/third-party-fix.js:
update base64ImgRegex to match image MIME types. As in NPM package source code, default imge is data:image/svg+xml;base64,P which original regex doesn't match;
use imgRegex.test(parentNode.href) to get a boolean result in if condition.
This commit contains following changes in
lib/third-party-fix.js
:base64ImgRegex
to match image MIME types. As in NPM package source code, default imge isdata:image/svg+xml;base64,P
which original regex doesn't match;imgRegex.test(parentNode.href)
to get a boolean result in if condition.