diff --git a/api/src/Storage/Merge.php b/api/src/Storage/Merge.php index 1011b05c36..cafce82747 100644 --- a/api/src/Storage/Merge.php +++ b/api/src/Storage/Merge.php @@ -1574,6 +1574,7 @@ abstract class Merge $archive = tempnam($GLOBALS['egw_info']['server']['temp_dir'], basename($document,$ext).'-').$ext; copy($content_url,$archive); $content_url = 'zip://'.$archive.'#'.($content_file = 'content.xml'); + $this->parse_html_styles = true; break; case 'application/vnd.openxmlformats-officedocument.wordprocessingml.d': // mimetypes in vfs are limited to 64 chars $mimetype = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; diff --git a/api/templates/default/Merge/openoffice.xslt b/api/templates/default/Merge/openoffice.xslt index e9b2efe61d..5b5a08addf 100644 --- a/api/templates/default/Merge/openoffice.xslt +++ b/api/templates/default/Merge/openoffice.xslt @@ -1,9 +1,10 @@ - - + + + + + + + +