Skip to content

Node.js based forum software built for the modern web

fixed #3295

Julian Lamceb4de653db8
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();
});