anchor.diff:  				<cfset var folderpath_img = _folderPath(hostid = host_id, prefix = prefix, folder = qry_img.folder) />
   				<!--- Custom Fields --->
   				<cfset var cf_img = _getCustomFields(hostid = host_id, prefix = prefix, file_id = file_id, thedatabase = arguments.thedatabase, category = "images") />
  +				<!--- Replace special chars in custom fields --->
  +				<cfset var cf_img = REReplace(cf_img, "#chr(13)#|#chr(9)#|\n|\r", "", "ALL") >
  +				<cfset var cf_img = REReplace(cf_img, theregchars_cf, " ", "ALL") >
   				<!--- Labels --->
   				<cfset var labels_img = _getLabels(hostid = host_id, prefix = prefix, file_id = file_id, category = "images", groupid = qry_img.groupid) />
   				<!--- Remove foreign chars for some columns --->
  
positive.code: 		<!--- Params --->
  		<cfset var folderpath = "">
  		<!--- <cfset var theregchars = "[\&\(\)\[\]\'\n\r]+"> --->
  		<cfset var theregchars = "[\$\%\_\-\,\.\&\(\)\[\]\*\n\r]+">
  		<cfset var thedesc = "">
  		<cfset var thekeys = "">
  		<!--- Create the qoq_img --->
  
negative.code: 				<cfset var folderpath_doc = _folderPath(hostid = host_id, prefix = prefix, folder = qry_doc.folder) />
  				<!--- Custom Fields --->
  				<cfset var cf_doc = _getCustomFields(hostid = host_id, prefix = prefix, file_id = file_id, thedatabase = arguments.thedatabase, category = "files") />
  				<!--- Replace special chars in custom fields --->
  				<cfset var cf_doc = REReplace(cf_doc, "#chr(13)#|#chr(9)#|\n|\r", "", "ALL") >
  				<cfset var cf_doc = REReplace(cf_doc, theregchars_cf, " ", "ALL") >
  				<!--- Labels --->
  				<cfset var labels_doc = _getLabels(hostid = host_id, prefix = prefix, file_id = file_id, category = "files") />
  				<!--- Remove foreign chars for some columns --->
  