fix #1598 Pipe '|' symbol breaks YAML Syntax highlighting
This commit is contained in:
parent
e52a4250fe
commit
2efe7f203e
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ var YamlHighlightRules = function() {
|
||||||
regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
|
regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
|
||||||
}, {
|
}, {
|
||||||
token : "string", // multi line string start
|
token : "string", // multi line string start
|
||||||
regex : '[\\|>]\\w*',
|
regex : '[|>][-+\\d\\s]*$',
|
||||||
next : "qqstring"
|
next : "qqstring"
|
||||||
}, {
|
}, {
|
||||||
token : "string", // single quoted string
|
token : "string", // single quoted string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue