grunt-svgstore icon indicating copy to clipboard operation
grunt-svgstore copied to clipboard

Option to strip svg tag

Open nickspiel opened this issue 10 years ago • 0 comments

It would be great to have the option to strip out the wrapping tag.

This would help when using frameworks like angular to inject the svg into the body of the document.

At the moment this is achieved with (note the double quotes is required to parse an svg in angular):

Which will output the following:

... SVG content ...

Anyways, food for thought.

I will look into it and propose a pull request if I find a solution.

nickspiel avatar Jan 30 '15 05:01 nickspiel