You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My expectation is that since I've set mode.symbol.inline in my config object to true, the file sprite.symbol.svg would only consist of the <svg> element and any nested elements/content (i.e., not the XML namespace declaration, DOCTYPE, etc.). In another step of my build process, I'm including the full output of sprite.symbol.svg in my main HTML file, so only the <svg> element and its contents are needed there (otherwise I'll need to strip them somehow).
Does this seem like a bug, or am I not understanding (or using) the inline option correctly?
Great work here, BTW!
The text was updated successfully, but these errors were encountered:
As of release f57a1d2, gulp-svg-sprites shouldn't create XML and doctype declarations for inline sprites anymore. Would you please check if this works for you now? I'll close the issue, but please feel free to re-open in case of further problems.
In my project, I'm using the following gulp task:
Running it creates the following file structure:
My expectation is that since I've set
mode.symbol.inline
in my config object totrue
, the filesprite.symbol.svg
would only consist of the<svg>
element and any nested elements/content (i.e., not the XML namespace declaration, DOCTYPE, etc.). In another step of my build process, I'm including the full output ofsprite.symbol.svg
in my main HTML file, so only the<svg>
element and its contents are needed there (otherwise I'll need to strip them somehow).Does this seem like a bug, or am I not understanding (or using) the
inline
option correctly?Great work here, BTW!
The text was updated successfully, but these errors were encountered: