Skip to content

Commit 85b0d2b

Browse files
committed
Fix issue with unfinished escape sequences
1 parent e47c8d5 commit 85b0d2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/util.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ namespace Sass {
118118
}
119119
out.push_back(i);
120120
}
121-
if (esc) out += '\\';
121+
// happens when parsing does not correctly skip
122+
// over escaped sequences for ie. interpolations
123+
// one example: foo\#{interpolate}
124+
// if (esc) out += '\\';
122125
return out;
123126
}
124127

0 commit comments

Comments
 (0)