diff --git a/src/format-hooks/svg.js b/src/format-hooks/svg.js index 6e04037..0d87c8f 100644 --- a/src/format-hooks/svg.js +++ b/src/format-hooks/svg.js @@ -3,16 +3,8 @@ const fsp = require("fs").promises; module.exports = async function createSvg(sharpInstance) { let input = sharpInstance.options.input; let svgBuffer = input.buffer; - if(svgBuffer) { // remote URL already has buffer - let svgString = svgBuffer.toString("utf-8") - - if(!svgString.includes('