Answer the question
In order to leave comments, you need to log in
Why does the PUG mixin make "xlink:href" just "href"?
Can't solve the problem:
there is a pug mixin for inserting an svg icon:
mixin icon(name, w, h, cl)
- cl = cl || ''
svg(width=w height=h class=cl)
use(xlink:href="img/sprite-svg.svg#" + name)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question