codefeathers / rollup-plugin-svelte-svg

Import SVG files as Svelte Components
MIT License
75 stars 13 forks source link

fix: svgRegex now doesnt match last quote on svg string #24

Closed vndre closed 3 years ago

vndre commented 3 years ago

This fixes the extra quote on #23

MKRhere commented 3 years ago

Thanks for the PR; I'd left it open since I wanted to understand the underlying problem. Fixed in be44ca0bd82ccd9ea79f8881b707a7a9320b6f8a from v1.0.0-beta.2, explained in https://github.com/codefeathers/rollup-plugin-svelte-svg/issues/23#issuecomment-864363144