fix typo in boolean logic test

This commit is contained in:
Steve-Mcl 2021-10-05 00:06:25 +01:00
parent 8a2e74b3b8
commit 2b12834d53
1 changed files with 1 additions and 1 deletions

View File

@ -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; }