diff --git a/src/html/js/dataManagement.js b/src/html/js/dataManagement.js index 17842fc..22a0972 100644 --- a/src/html/js/dataManagement.js +++ b/src/html/js/dataManagement.js @@ -3750,6 +3750,15 @@ dataManagement.prototype.openEntityURLPopUp = function(count){ $("#urlDataManagement").focus(); }; +String.prototype.sanitize = function() { + return this/* w w w. j a v a2 s .c o m*/ + .replace(/&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"') + .replace(/'/g, ''') +} + /** * The purpose of this method is to create dynamic row for entity data * @@ -3795,6 +3804,7 @@ dataManagement.prototype.createEntityRow = function(count, dynamicCols = dynamicCols + "