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: 				<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") />
  				<!--- Labels --->
  				<cfset var labels_doc = _getLabels(hostid = host_id, prefix = prefix, file_id = file_id, category = "files") />
  				<!--- Remove foreign chars for some columns --->
  
negative.code: 					thecategory : qry_aud.thecategory,
  					theext : qry_aud.theext,
  					labels : '#labels_aud#',
  					customfieldvalue : cf_aud,
  					folderpath : '#folderpath_aud#',
  					host_id : '#host_id#',
  					create_time : dateformat(qry_aud.create_time, 'yyyymmdd'),
  