diff --git a/client/modules/IDE/components/PreviewFrame.jsx b/client/modules/IDE/components/PreviewFrame.jsx index 6144b81d..f0a0255e 100644 --- a/client/modules/IDE/components/PreviewFrame.jsx +++ b/client/modules/IDE/components/PreviewFrame.jsx @@ -171,7 +171,7 @@ class PreviewFrame extends React.Component { if (JSHINT.errors.length === 0) { newContent = decomment(newContent, { - ignore: /noprotect/g, + ignore: /\/\/\s*noprotect/g, space: true }); newContent = loopProtect(newContent);