Broken output in symbols mode
See original GitHub issueThis happens when i use symbols mode:
<symbol id="BG" viewBox="0 0 595.279 841.89">[object Object] [object Object] </symbol>
This is my task:
gulp.task('svg', function () {
return gulp.src('images/svg/*.svg')
.pipe(svgSprite({
mode: "symbols"
}))
.pipe(gulp.dest('images/svg/test/'));
});
and i tried so
gulp.task('svg', function () {
return gulp.src('images/svg/*.svg')
.pipe(svgSprite({
mode: "symbols"
svg: {
symbols: 'symbol_sprite.html'
}
}))
.pipe(gulp.dest('images/svg/test/'));
});
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:12
Top Results From Across the Web
Keyboard problems - wrong symbols __ - Microsoft Community
Your computer is likely setup for multiple keyboard layouts and a hotkey has been inadvertently pressed to switch between layouts. Open the ...
Read more >Symbols appear instead of letters/numbers when typing on Mac
Your qwertyuiop result indicates that your machine thinks that both option and shift are being held down while you type. The symbols are...
Read more >Mac keyboard typing wrong letters & symbols - Fixed - YouTube
how to fix apple macbook keyboard typing symbols instead of charactersHow to change mac Input source & Keyboard Typehow to change keyboard ...
Read more >4 Ways to Fix a Keyboard That Has the Wrong Characters
1. Check the NumLock and Fn+NumLock keys. Many laptops will convert a good chunk of the keyboard into a number pad if NumLock...
Read more >Keyboard typing weird letters and symbols - Apple Community
Keyboard typing weird letters and symbols. Hi all. I have tried to use my Macbook Pro this morning and when I type its...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
windows 10 x64 The same problem!!! I solved this problem by changing the pattern “symbols.svg”
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0" style="position:absolute"> <% _.forEach(svg, function(svgItem) { %> <symbol id="<%= svgItem.name %>" viewBox="<%= svgItem.viewBox %>"> <%= svgItem.data.replace(/<svg.*?>(.*?)<\/svg>/, "$1") %> </symbol> <% }); %> </svg>
+1 same problem here on MacOS