Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[css mode] Include leading space in string token for non-quoted url v…


Issue #1026
  • Loading branch information...
1 parent a05aca9 commit f7fe5cdc4d3e6568d8286caf17b8a75ba0776a20 @marijnh marijnh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mode/css/css.js
2  mode/css/css.js
@@ -352,7 +352,7 @@ CodeMirror.defineMode("css", function(config) {
// sequence of selectors:
// One or more of the named type of selector chained with commas.
- if (stream.eatSpace()) return null;
+ if (state.tokenize == tokenBase && stream.eatSpace()) return null;
var style = state.tokenize(stream, state);
// Changing style returned based on context

0 comments on commit f7fe5cd

Please sign in to comment.
Something went wrong with that request. Please try again.