svg-sprite / svg-sprite

SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)

Home Page:https://github.com/svg-sprite/svg-sprite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v2.0.0-beta6 escape issue in symbol mode

XhmikosR opened this issue · comments

 bootstrap-icons.svg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap-icons.svg b/bootstrap-icons.svg
index 99df40fb4..be7b3ea38 100644
--- a/bootstrap-icons.svg
+++ b/bootstrap-icons.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><symbol class="bi bi-123"...
\ No newline at end of file
+<svg xmlns="http:&#x2F;&#x2F;www.w3.org&#x2F;2000&#x2F;svg" xmlns:xlink="http:&#x2F;&#x2F;www.w3.org&#x2F;1999&#x2F;xlink"><symbol class="bi bi-123"...
\ No newline at end of file

@Kreeg it seems we have a regression probably after #620.

To reproduce:

git clone https://github.com/twbs/icons.git -b deps
npm i
npm run icons-sprite

and see ./bootstrap-icons.svg.

We could just use the individual lodash package if it's hard to fix ourselves.