File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 37
37
#ifndef SASS2SCSS_VERSION
38
38
// Hardcode once the file is copied from
39
39
// https://github.com/mgreter/sass2scss
40
- #define SASS2SCSS_VERSION " 1.0.5 "
40
+ #define SASS2SCSS_VERSION " 1.0.6 "
41
41
#endif
42
42
43
43
// add namespace for c++
Original file line number Diff line number Diff line change @@ -528,6 +528,13 @@ namespace Sass
528
528
// reset converter state
529
529
converter.selector = false ;
530
530
531
+ // looks like some undocumented behavior ...
532
+ // https://github.com/mgreter/sass2scss/issues/29
533
+ if (sass.substr (pos_left, 1 ) == " \\ " ) {
534
+ converter.selector = true ;
535
+ sass[pos_left] = ' ' ;
536
+ }
537
+
531
538
// check if we have sass property syntax
532
539
if (sass.substr (pos_left, 1 ) == " :" && sass.substr (pos_left, 2 ) != " ::" )
533
540
{
You can’t perform that action at this time.
0 commit comments