Process xml as if it were a MSOffice document

This commit is contained in:
Nathan Gray 2011-08-17 14:47:17 +00:00
parent 7cbff78854
commit 2a815be3d3

View File

@ -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(
'<b>','<strong>','<i>','<em>','<u>','<span>','<ol>','<ul>','<li>',
'<table>','<tr>','<td>',