diff --git a/config.json b/config.json index 8a551ee2ed..f2072156b5 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "base_template": "lib/website/templates/base.html", - "framework_version": "3.9.4", + "framework_version": "3.9.5", "modules": { "Calendar": { "color": "#2980b9", diff --git a/public/js/wn/ui/editor.js b/public/js/wn/ui/editor.js index e2574f125b..43443b0e17 100644 --- a/public/js/wn/ui/editor.js +++ b/public/js/wn/ui/editor.js @@ -125,7 +125,7 @@ bsEditor = Class.extend({ clean_html: function() { var html = this.editor.html() || ""; - if(!strip(this.editor.text()) && !(this.editor.find("img"))) html = ""; + if(!$.trim(this.editor.text()) && !(this.editor.find("img"))) html = ""; // html = html.replace(/(
|\s|

<\/div>| )*$/, ''); // remove custom typography (use CSS!)