DEV Community

Discussion on: Using a string of SVG text as an image source

Collapse
 
stereobooster profile image
stereobooster

Second option would be data:image/svg+xml, and encodeURIComponent. See codepen.io/tigt/post/optimizing-sv...