diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index 0e7307c863..696bcf6d81 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -568,6 +568,11 @@ abstract class bo_merge case 'application/vnd.oasis.opendocument.spreadsheet': // open office calc $format = '/]+?)office:value-type="([^"]+)"([^>]*?)>.?<([a-z].*?)[^>]*>('.implode('|',$names).')<\/\4>.?<\/table:table-cell>/s'; $replacement = '$5'; + break; + case 'application/xmlExcel.Sheet': // Excel 2003 + $format = '/'.preg_quote('','/').'('.implode('|',$names).')'.preg_quote('','/').'/'; + $replacement = '$1'; + break; } if($format && $names)