@@ -, +, @@ not escaped on saving 1) On current master, create a record in Rancor containing multiple &, < or " characters ("A & B & C", for example). 2) Try to save the record, it will silently fail. 3) Apply this patch. 4) The record should now save correctly. --- koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js +++ a/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) { --