From f749fc641b2ce6a77dd77b4844046a875d1d0d36 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Tue, 12 May 2020 17:42:24 +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); });