Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Fixes #11629
Browse files Browse the repository at this point in the history
  • Loading branch information
sprintr committed Aug 27, 2015
1 parent 11b663e commit 2e64c0d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/language/CSSUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ define(function (require, exports, module) {
}

state = ctx.token.state.localState || ctx.token.state;
if (!state.context && ctx.token.state.html.localState) {
state = ctx.token.state.html.localState;
}

if (!state.context) {
return false;
Expand Down Expand Up @@ -130,6 +133,9 @@ define(function (require, exports, module) {
}

state = ctx.token.state.localState || ctx.token.state;
if (!state.context && ctx.token.state.html.localState) {
state = ctx.token.state.html.localState;
}

if (!state.context || !state.context.prev) {
return false;
Expand All @@ -152,6 +158,9 @@ define(function (require, exports, module) {
}

state = ctx.token.state.localState || ctx.token.state;
if (!state.context && ctx.token.state.html.localState) {
state = ctx.token.state.html.localState;
}

if (!state.context) {
return false;
Expand Down

0 comments on commit 2e64c0d

Please sign in to comment.