diff --git a/static/js/Wiki.js b/static/js/Wiki.js index e64603d..10343d7 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1477,10 +1477,14 @@ Wiki.prototype.start_notebook_rename = function () { return; } + var div = createDOM( "div" ); + div.innerHTML = this.notebook.name; + var notebook_name = scrapeText( div ); + notebook_name_field = createDOM( "input", { "type": "text", - "value": this.notebook.name, + "value": unescape( notebook_name ), "id": "notebook_name_field", "name": "notebook_name_field", "size": "30",