is theres a workaround or any other ways to make this work on Sass 3.4 +
@mixin icon ($name, $code) {
.#{$name}::before {
content: str-slice("\x",1,1) + $code;}
}
@include icon('test', 4556);
Code should output
.test::before { content: "\4556"; }
But on 3.4+ the \
slash is getting removed and outputted as
.test::before { content: "x4556"; }
Thanks