Skip to content

Tabs Added to Preformatted Text in ODF format #111

@Frimkron

Description

@Frimkron

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  | ---&gt; |  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions