Use text:line-break, no guarantee that there will be a span

This commit is contained in:
Nathan Gray 2011-03-03 18:22:49 +00:00
parent 0487ce678a
commit c2c42cfa92

View File

@ -662,7 +662,7 @@ abstract class bo_merge
break; break;
case 'application/vnd.oasis.opendocument.text': case 'application/vnd.oasis.opendocument.text':
case 'application/vnd.oasis.opendocument.spreadsheet': case 'application/vnd.oasis.opendocument.spreadsheet':
$LF ='</text:span></text:p><text:p><text:span>'; //span is needed here $LF ='<text:line-break/>';
break; break;
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document':
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':