w0rm / gulp-svgstore

Combine svg files into one with symbol elements
https://www.npmjs.com/package/gulp-svgstore
645 stars 33 forks source link

Removing doctype from generated sprite sheet #71

Closed petebarr closed 8 years ago

petebarr commented 8 years ago

Hi,

Just wondering if there's a way to remove the doctype and xml header from the main generated sprite sheet?

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

w0rm commented 8 years ago

@petebarr there is an option for this svgstore({ inlineSvg: true }), check the README.

petebarr commented 8 years ago

Aghhh! Sorry, I must be blind. Cheers!