mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
updated codemirror to 5.57.0
This commit is contained in:
2
libraries/codemirror/mode/stylus/stylus.js
vendored
2
libraries/codemirror/mode/stylus/stylus.js
vendored
@@ -76,7 +76,7 @@
|
||||
if (ch == "#") {
|
||||
stream.next();
|
||||
// Hex color
|
||||
if (stream.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b/i)) {
|
||||
if (stream.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i)) {
|
||||
return ["atom", "atom"];
|
||||
}
|
||||
// ID selector
|
||||
|
||||
Reference in New Issue
Block a user