Hiswe / gulp-svg-symbols

Convert svg files to symbols
https://www.npmjs.com/package/gulp-svg-symbols
MIT License
169 stars 18 forks source link

SVG-symbols is stripping out my preserveAspectRatio atributes #55

Closed Lefthandmedia closed 6 years ago

Lefthandmedia commented 6 years ago

All my <svg>'s have an preserveAspectRatio attribute. The are all stripped out in the resulting <symbol>. To be clear i doint mean the container SVG but all children <symbols> How can i fix this? RDG

Hiswe commented 6 years ago

Hi :)

the preserveAspectRatio should be present in the symbols if you use the default template

I just checked and it works.

You can test by following those steps:

You will see the preserveAspectRatio attributes on the symbols

Is there something I'm missing?

Lefthandmedia commented 6 years ago

Hi, tnx its working now. forgot that SVGmin was running running first. tnx for the quick reply

Hiswe commented 6 years ago

you're welcome :)