From 1359a72f2d70764c3bf97c8910f587e1a6ba298c Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Mon, 26 Jun 2017 15:39:21 -0400 Subject: [PATCH] fix #372 --- client/modules/IDE/components/PreviewFrame.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/components/PreviewFrame.jsx b/client/modules/IDE/components/PreviewFrame.jsx index 31bcd90d..c29d2e54 100644 --- a/client/modules/IDE/components/PreviewFrame.jsx +++ b/client/modules/IDE/components/PreviewFrame.jsx @@ -280,7 +280,7 @@ class PreviewFrame extends React.Component { } } }); - newContent = decomment(newContent); + newContent = decomment(newContent, { ignore: /noprotect/g }); newContent = loopProtect(newContent); return newContent; }