app/views/optimacms/admin/common/_js_ace.html.haml in optimacms-0.3.34 vs app/views/optimacms/admin/common/_js_ace.html.haml in optimacms-0.3.35

- old
+ new

@@ -32,10 +32,11 @@ //var editor = ace.edit("content"); var editor = ace.edit(id); editor.setTheme("ace/theme/chrome"); editor.getSession().setMode("ace/mode/haml"); - editor.getSession().setNewLineMode("windows"); + //editor.getSession().setNewLineMode("windows"); + editor.getSession().setNewLineMode("unix"); editor.getSession().setTabSize(2); return editor; }