Skip to content

Commit

Permalink
[sass] Fix parsing of trailing newlines
Browse files Browse the repository at this point in the history
See #246
  • Loading branch information
tonyganch committed Nov 18, 2016
1 parent ce8d9a0 commit 167af02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sass/mark.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ module.exports = (function() {

if (i === p && indent === lastLevel) continue;

if (!lines[p]) {
continue;
}

indent = lines[p][1];

if (indent === lastLevel) {
Expand Down

0 comments on commit 167af02

Please sign in to comment.