mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Process xml as if it were a MSOffice document
This commit is contained in:
parent
7cbff78854
commit
2a815be3d3
@ -360,6 +360,7 @@ abstract class bo_merge
|
|||||||
break;
|
break;
|
||||||
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007
|
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007
|
||||||
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
|
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
|
||||||
|
case 'application/xml':
|
||||||
$replace_tags = array(
|
$replace_tags = array(
|
||||||
'b','strong','i','em','u','span'
|
'b','strong','i','em','u','span'
|
||||||
);
|
);
|
||||||
@ -639,6 +640,7 @@ abstract class bo_merge
|
|||||||
break;
|
break;
|
||||||
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007
|
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': // ms office 2007
|
||||||
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
|
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
|
||||||
|
case 'application/xml':
|
||||||
$replace_tags = array(
|
$replace_tags = array(
|
||||||
'<b>','<strong>','<i>','<em>','<u>','<span>','<ol>','<ul>','<li>',
|
'<b>','<strong>','<i>','<em>','<u>','<span>','<ol>','<ul>','<li>',
|
||||||
'<table>','<tr>','<td>',
|
'<table>','<tr>','<td>',
|
||||||
|
Loading…
Reference in New Issue
Block a user