Fix linefeed for NELF + application/xml mimetype

This commit is contained in:
Nathan Gray 2011-03-10 17:23:28 +00:00
parent aa7fc0f9f9
commit dffb0b87dd

View File

@ -671,6 +671,11 @@ abstract class bo_merge
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
$LF ='</w:r></w:p><w:r><w:t>'; $LF ='</w:r></w:p><w:r><w:t>';
break; break;
case 'application/xml';
$LF ='</w:t></w:r><w:r><w:br w:type="text-wrapping" w:clear="all"/></w:r><w:r><w:t>';
break;
default:
$LF = "\n";
} }
if (strpos($param[0],'$$NELF') === 0) if (strpos($param[0],'$$NELF') === 0)