From dffb0b87dde965dc5fe02570e692ae57e9a9011d Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 10 Mar 2011 17:23:28 +0000 Subject: [PATCH] Fix linefeed for NELF + application/xml mimetype --- etemplate/inc/class.bo_merge.inc.php | 5 +++++ 1 file changed, 5 insertions(+) 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)