From 87c76c09e2ccfd426946055a2ac2e177189afa03 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Tue, 12 May 2020 17:41:49 +0200 Subject: [PATCH] temporary fix for #1390 --- cps/templates/book_edit.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cps/templates/book_edit.html b/cps/templates/book_edit.html index b72ef197..d19d8d40 100644 --- a/cps/templates/book_edit.html +++ b/cps/templates/book_edit.html @@ -305,9 +305,9 @@ // create a random identifier type to have a valid name in form. This will not be used when dealing with the form var rand_id = Math.floor(Math.random() * 1000000).toString(); var line = ''; - line += ''; - line += ''; - line += '{{_('Remove')}}'; + line += ''; + line += ''; + line += '{{_('Remove')|forceescape}}'; line += ''; $("#identifier-table").append(line); });