mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix typo in boolean logic test
This commit is contained in:
parent
8a2e74b3b8
commit
2b12834d53
@ -54,7 +54,7 @@ RED.utils = (function() {
|
||||
start(src) {
|
||||
if (!src) { return null; }
|
||||
let m = src.match(/:/);
|
||||
return m & m.index; // Hint to Marked.js to stop and check for a match
|
||||
return m && m.index; // Hint to Marked.js to stop and check for a match
|
||||
},
|
||||
tokenizer(src, tokens) {
|
||||
if (!src) { return null; }
|
||||
|
Loading…
Reference in New Issue
Block a user