From 94eb2b32de5f588f6f9299faf9d34c4a4e685bf5 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Thu, 12 Mar 2015 12:23:05 +0100 Subject: [PATCH] We also need to escape the JS at this point --- templates/2k11/admin/serendipity_editor.js.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/2k11/admin/serendipity_editor.js.tpl b/templates/2k11/admin/serendipity_editor.js.tpl index cda98c58..be20cab9 100644 --- a/templates/2k11/admin/serendipity_editor.js.tpl +++ b/templates/2k11/admin/serendipity_editor.js.tpl @@ -640,6 +640,7 @@ if ($selected.length > 0) { $selected.each(function() { var catText = $(this).next('label').text(); + catText = $('').text(catText).html(); $('
  • '+ catText +'
  • ').appendTo($target); }); } else {