diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js index 6c69aaf63c35f433322d502997e90d911864c2aa..dc71368bc0dabc2e9bb77cd14803b1788162673f 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js @@ -342,6 +342,9 @@ $.extend(Grid.prototype, { if(!rowValue) { rowValue = ""; } else { + var specialCharsRemover = document.createElement("textarea"); + specialCharsRemover.innerHTML = rowValue; + rowValue = specialCharsRemover.value; //Removes special HTML Chars rowValue = String(rowValue).replace(/\r?\n|\r|\t/g, " "); //Remove carriage returns and tabs if(plainText === true){ rowValue = String(rowValue).replace(/<(?:.|\n)*?>/gm, '');