diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php
index e3934d253c..de9684e4ce 100644
--- a/etemplate/inc/class.bo_merge.inc.php
+++ b/etemplate/inc/class.bo_merge.inc.php
@@ -671,6 +671,11 @@ abstract class bo_merge
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
$LF ='';
break;
+ case 'application/xml';
+ $LF ='';
+ break;
+ default:
+ $LF = "\n";
}
if (strpos($param[0],'$$NELF') === 0)