From 2612ffcc0155470192e204da81e977085d4abfe1 Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Tue, 10 Nov 2015 12:12:43 -0700 Subject: [PATCH] [SIGNED-OFF] Bug 15197: In Rancor, multiple &/ Works well, record saved No errors --- koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js index d795511..fb7be33 100644 --- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js +++ b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js @@ -37,7 +37,7 @@ define( function() { }; function _escape(str) { - return str.replace( /[<&"]/, function (c) { return _escape_map[c] } ); + return str.replace( /[<&"]/g, function (c) { return _escape_map[c] } ); } function _intpadded(i, digits) { -- 1.9.1