Closed zaucy closed 7 years ago
Hi, I'm not sure whether you guys have encountered this case:
I just set the baseSelector
as [class^=icon-]
, but the output from res.generateCss
method is like [class^=icon-]
. It seems something wrong with the hbs parser?
I think for baseSelector in css.hbs, we should use "triple-stash" to fully escape the html syntax, i.e use {{{baseSelector}}}
instead
I changed the template options
baseClass
tobaseSelector
for more flexibility.baseClass
can still be used, but it gives a warning for using it.In a project I'm working on we use our base selector for our icon font something similar to
[class^=icon-]
so usingbaseClass
didn't work for us. I did use a hack specifyingbaseClass
something similar toicon, [class^=icon-]
, but I don't like hacky solutions.