fuzhenn / node-svg2img

A high-performance in-memory convertor to convert svg to png/jpeg images for Node.
MIT License
159 stars 37 forks source link

fix: accept svg strings with data URI scheme. #52

Closed edfus closed 3 years ago

edfus commented 3 years ago

a SVG that has a xlink:href beggining with data:image/svg+xml;base64, will be wrongly treated as a base64 data URI in current decision making statements.