peg-multimarkdown
peg-multimarkdown copied to clipboard
Tabs Added to Preformatted Text in ODF format
I'm having an issue whereby spaces in my code blocks are being converted to tabs when I convert to odf.
For example, the following diagram:
+-----+ +-----+
| A | ---> | B |
+-----+ +-----+
Gets converted to the following markup (I've added linebreaks for readability):
<text:p text:style-name="Preformatted Text">
+-----+<text:tab/> +-----+<text:line-break/>
| A | ---> | B |<text:line-break/>
+-----+<text:tab/> +-----+<text:line-break/>
</text:p>
The added <text:tab/>
elements cause the preformatted text to look wrong when opened in Open Office, for example.
I'm using multimarkdown version 3.5.1