diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js index dcb1772c0989f260cf35c75cc44cc2b776a03a25..d018b1e4c718ae816fb4d97dd43c039bf5b7f8f7 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js @@ -637,7 +637,9 @@ var FormUtil = new function() { this.fixStringPropertiesForForm = function(propertyType, entity) { var originalValue = entity.properties[propertyType.code]; - entity.properties[propertyType.code] = this.sanitizeRichHTMLText(originalValue); + if (propertyType.dataType !== "XML") { + entity.properties[propertyType.code] = this.sanitizeRichHTMLText(originalValue); + } } this.sanitizeRichHTMLText = function(originalValue) {