mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
ckeditor 5.60.0
This commit is contained in:
4
libraries/codemirror/mode/php/php.js
vendored
4
libraries/codemirror/mode/php/php.js
vendored
@@ -53,7 +53,7 @@
|
||||
[["]", null]]
|
||||
], closing, escapes);
|
||||
}
|
||||
if (stream.match(/\-\>\w/, false)) {
|
||||
if (stream.match(/^->\w/, false)) {
|
||||
// Match object operator
|
||||
state.tokenize = matchSequence([
|
||||
[["->", null]],
|
||||
@@ -106,7 +106,7 @@
|
||||
},
|
||||
"<": function(stream, state) {
|
||||
var before;
|
||||
if (before = stream.match(/<<\s*/)) {
|
||||
if (before = stream.match(/^<<\s*/)) {
|
||||
var quoted = stream.eat(/['"]/);
|
||||
stream.eatWhile(/[\w\.]/);
|
||||
var delim = stream.current().slice(before[0].length + (quoted ? 2 : 1));
|
||||
|
||||
Reference in New Issue
Block a user