SASS is prepending unicode content with backslash (\)
|Added at||2016-11-02 09:11|
I'm trying to produce some unicode characters after compiling my *.scss file.
As an example, I have the following (SCSS):
When the file is compiled, it outputs the following (CSS):
Notice the extra unwanted backslash (\).
Attempted Solution #1
I did try the solution here: Sass: unicode escape is not preserved in .css file, which suggests introducing the following function:
And using it like so (SCSS):
However, this produces the following (CSS)
Notice, it's not even invoking the function as intended. Why is that?
I'm using these libraries in Maven:
Don't use unicodes in SCSS. Instead, use Font Awesome in the HTML (keeping Font Awesome in a CSS file).