sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.98k stars 357 forks source link

Preserve escaped content #1209

Closed IgnacioHR closed 3 years ago

IgnacioHR commented 3 years ago

Hello,

If I've the input file input.scss

.test::before {
    content: "\ea01";
}

and I run sass input.scss the output obtained is:

.test::before {
  content: ;
}

I want it to be exactly the same escaped string without converting the escaped character into the utf-8 character as this is generating undesired side effects as you can see in the attached image capture

Papirix___iXBRL_data_tagging

I can't find a proper way to handle this situation via options or anything.

Any help or bug fix will be appreciated Best

jathak commented 3 years ago

Duplicate of #568.