Hello,
I'm using gulp-sass to compile a custom set of icons from FontAwesome. In the FontAwesome _variables.scss, there is a variable $fa-var-home
$fa-var-home: "\f015";
After running gulp-sass, this is compiled into a weird character:
.fa-home:before {
content: "";
}
Why doesn't it say \f015?
I added @charset "UTF-8"; at the top of my main.scss file.
Versions:
I also added this issue first on the gulp-sass page. https://github.com/dlmanning/gulp-sass/issues/603#issuecomment-296236512
This is on purpose and part of the CSS spec. It's a different way to encode
the character.
On 24 May 2017 5:13 pm, "timo002" notifications@github.com wrote:
Hello,
I'm using gulp-sass to compile a custom set of icons from FontAwesome. In
the FontAwesome _variables.scss, there is a variable $fa-var-home$fa-var-home: "\f015";
After running gulp-sass, this is compiled into a weird character:
.fa-home:before {
content: "";
}Why doesn't it say \f015?
I added @charset "UTF-8"; at the top of my main.scss file.
Versions:
- NPM version: 3.10.10
- Node version: 6.10.2
- Node Process:
- http_parser: '2.7.0',
- node: '6.10.2',
- v8: '5.1.281.98',
- uv: '1.9.1',
- zlib: '1.2.11',
- ares: '1.10.1-DEV',
- icu: '58.2',
- modules: '48',
- openssl: '1.0.2k'
- Node Platform: darwin
- Node architecture: x64
- node-sass version: error running cmd
- npm node-sass versions: empty, ERR! code 1
I also added this issue first on the gulp-sass page. dlmanning/gulp-sass#603
(comment)
https://github.com/dlmanning/gulp-sass/issues/603#issuecomment-296236512—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1976, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWGVLhmRaE1ltDySwbum_vkU2aSghks5r9EkcgaJpZM4NlQfc
.