void mmd_end_complete_odf(DString * out, const char * source, scratch_pad * scratch) {
+ pad(out, 1, scratch);
print_const("</office:text>\n</office:body>\n</office:document>");
}
<text:p text:style-name="Preformatted Text">foo<text:line-break/></text:p>
-<text:p text:style-name="Preformatted Text">foo<text:line-break/></text:p></office:text>
+<text:p text:style-name="Preformatted Text">foo<text:line-break/></text:p>
+</office:text>
</office:body>
</office:document>
<text:p text:style-name="Preformatted Text"> bar<text:line-break/>foo<text:line-break/></text:p>
-<text:p text:style-name="Quotations">bar</text:p></office:text>
+<text:p text:style-name="Quotations">bar</text:p>
+</office:text>
</office:body>
</office:document>
<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">-<>--&\&---...</text:span></text:p>
-<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">`foo`</text:span></text:p></office:text>
+<text:p text:style-name="Standard"><text:span text:style-name="Source_20_Text">`foo`</text:span></text:p>
+</office:text>
</office:body>
</office:document>