Update CodeMirror to version 5.17.1
This commit is contained in:
7
public/vendor/codemirror/mode/soy/soy.js
vendored
7
public/vendor/codemirror/mode/soy/soy.js
vendored
@@ -121,10 +121,11 @@
|
||||
return tokenUntil(stream, state, /\{\/literal}/);
|
||||
|
||||
case "string":
|
||||
if (stream.match(/^.*?"/)) {
|
||||
state.soyState.pop();
|
||||
} else {
|
||||
var match = stream.match(/^.*?("|\\[\s\S])/);
|
||||
if (!match) {
|
||||
stream.skipToEnd();
|
||||
} else if (match[1] == "\"") {
|
||||
state.soyState.pop();
|
||||
}
|
||||
return "string";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user