diff --git a/plugins/removeRasterImages.js b/plugins/removeRasterImages.js index 8a3635318..9684597e9 100644 --- a/plugins/removeRasterImages.js +++ b/plugins/removeRasterImages.js @@ -21,7 +21,7 @@ exports.fn = () => { if ( node.name === 'image' && node.attributes['xlink:href'] != null && - /(\.|image\/)(jpg|png|gif)/.test(node.attributes['xlink:href']) + /(\.|image\/)(jpg|jpeg|png|gif)/.test(node.attributes['xlink:href']) ) { detachNodeFromParent(node, parentNode); }