From 2743c6f614454719a3047e47ae6f08b70467ddc0 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Thu, 18 Sep 2014 18:07:26 -0700 Subject: [PATCH] Removed multiline --- themes/grav/js/htmleditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/grav/js/htmleditor.js b/themes/grav/js/htmleditor.js index ad633c0c..a6b65ebb 100755 --- a/themes/grav/js/htmleditor.js +++ b/themes/grav/js/htmleditor.js @@ -267,7 +267,7 @@ render: function() { - this.currentvalue = this.editor.getValue().replace(/^---([\s\S]*?)---\n{1,}/gm, ''); + this.currentvalue = this.editor.getValue().replace(/^---([\s\S]*?)---\n{1,}/g, ''); // empty code if (!this.currentvalue) {