diff --git a/cps/static/js/details.js b/cps/static/js/details.js index 81c1a395..951e404a 100644 --- a/cps/static/js/details.js +++ b/cps/static/js/details.js @@ -69,7 +69,7 @@ $("#archived_cb").on("change", function() { templates.remove({ add: this.href, remove: $this.data("remove-href"), - content: this.textContent + content: $("
").text(this.textContent).html() }) ); break; @@ -78,7 +78,7 @@ $("#archived_cb").on("change", function() { templates.add({ add: $this.data("add-href"), remove: this.href, - content: this.textContent + content: $("
").text(this.textContent).html(), }) ); break;