Update CodeMirror to 5.13.5
This commit is contained in:
@@ -77,6 +77,8 @@ $someObject.getValues("this is a string split
|
||||
|
||||
$someObject("This plus $something in the middle").method(7567).property
|
||||
|
||||
#set($something = "Parseable string with '$quotes'!")
|
||||
|
||||
#macro( tablerows $color $somelist )
|
||||
#foreach( $something in $somelist )
|
||||
<tr><td bgcolor=$color>$something</td></tr>
|
||||
|
||||
@@ -34,7 +34,7 @@ CodeMirror.defineMode("velocity", function() {
|
||||
state.beforeParams = false;
|
||||
var ch = stream.next();
|
||||
// start of unparsed string?
|
||||
if ((ch == "'") && state.inParams) {
|
||||
if ((ch == "'") && !state.inString && state.inParams) {
|
||||
state.lastTokenWasBuiltin = false;
|
||||
return chain(stream, state, tokenString(ch));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user