diff --git a/editor.php b/editor.php index a22e185..2ca8efc 100644 --- a/editor.php +++ b/editor.php @@ -6,7 +6,7 @@ CodeMirror 2: ICE Coders Editor of Choice - + @@ -146,7 +146,7 @@ function createNewCMInstance(num) { if(top.ICEcoder.tagString.slice(0,1)=="/"||top.ICEcoder.tagString.slice(0,1)=="?") { canDoEndTag=false; } - if (!top.ICEcoder.codeAssist||fileName.indexOf(".js")>0||fileName.indexOf(".css")>0) { + if (!top.ICEcoder.codeAssist||fileName.indexOf(".js")>0||fileName.indexOf(".css")>0||fileName.indexOf(".less")>0) { canDoEndTag=false; } contentType = top.ICEcoder.caretLocType;