mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-01 07:38:33 -04:00
Update CodeMirror to version 5.17.1
This commit is contained in:
parent
b6ca8649af
commit
1490eafdd2
27 changed files with 351 additions and 152 deletions
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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue