From 2a815be3d3ae3e58e890dfd4ac0f4704c6751392 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 17 Aug 2011 14:47:17 +0000 Subject: [PATCH] Process xml as if it were a MSOffice document --- etemplate/inc/class.bo_merge.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index 82fb7884df..05e5eb486d 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -360,6 +360,7 @@ abstract class bo_merge break; case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007 case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': + case 'application/xml': $replace_tags = array( 'b','strong','i','em','u','span' ); @@ -639,6 +640,7 @@ abstract class bo_merge break; case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007 case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': + case 'application/xml': $replace_tags = array( '','','','','','','
    ','
      ','
    • ', '','','
      ',