diff --git a/public/src/admin/manage/category.js b/public/src/admin/manage/category.js index ac4b6a50cc..bdd219d80e 100644 --- a/public/src/admin/manage/category.js +++ b/public/src/admin/manage/category.js @@ -70,9 +70,9 @@ define('admin/manage/category', [ $this.addClass('hide'); target.removeClass('hide').on('blur', function() { - $this.removeClass('hide').children('span').html(this.value); + $this.removeClass('hide').children('span').text(this.value).html(); $(this).addClass('hide'); - }).val($this.children('span').html()); + }).val($this.children('span').html().text()); target.focus(); });