Fixed RegEx to be super accurate
This commit is contained in:
@ -243,7 +243,7 @@ if(typeof prodOrDev !== 'undefined') {
|
|||||||
editor.setValue(editor.getValue() + "-->");
|
editor.setValue(editor.getValue() + "-->");
|
||||||
editorValueForIFrame = editorValueForIFrame + "-->";
|
editorValueForIFrame = editorValueForIFrame + "-->";
|
||||||
}
|
}
|
||||||
if(!editor.getValue().match(/\$\(\$\)/gi) ) {
|
if(!editor.getValue().match(/\$\s*?\(\s*?\$\s*?\)/gi) ) {
|
||||||
safeHTMLRun(false);
|
safeHTMLRun(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user