diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc index 3e5d9a77e6..605a1bf525 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc @@ -2,11 +2,15 @@ [%- biblio = item.biblio -%] [%- biblioitem = item.biblioitem -%] [ - "[% biblio.title |html %] by [% biblio.author |html %]", + "[% FILTER escape_quotes = replace('"', '\"') ~%] + [% biblio.title |html %] by [% biblio.author |html %] + [%~ END %]", "[% biblioitem.publicationyear |html %]", "[% biblioitem.publishercode |html %]", "[% biblioitem.collectiontitle |html %]", - "[% item.barcode |html %]", + "[% FILTER escape_quotes ~%] + [% item.barcode |html %] + [%~ END %]", "[% item.itemcallnumber |html %]", "[% Branches.GetName(item.homebranch) |html %]", "[% Branches.GetName(item.holdingbranch) |html %]", @@ -14,5 +18,7 @@ "[% item.stocknumber |html %]", "[% item.status |html %]", "[% (item.issues || 0) |html %]", - "Edit" + "[% FILTER escape_quotes ~%] + Edit + [%~ END %]" ]