Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandoc's markdown output damages documents in certain case #1013

Closed
bwl21 opened this issue Oct 7, 2013 · 0 comments
Closed

pandoc's markdown output damages documents in certain case #1013

bwl21 opened this issue Oct 7, 2013 · 0 comments

Comments

@bwl21
Copy link

bwl21 commented Oct 7, 2013

I have a document like this:

This is a test this is a test this is a test this is ta test this is a test this is a test iths is a test

- **this is a list - list - list - list - list - listelistelisteliste - list**

I process this using

pandoc x.md -o x.md

This is the result

This is a test this is a test this is a test this is ta test this is a
test this is a test iths is a test

-   **this is a list - list - list - list - list - listelistelisteliste
    - list**

If I "beautify" this again

This is a test this is a test this is a test this is ta test this is a
test this is a test iths is a test

-   \*\*this is a list - list - list - list - list -
    listelistelisteliste
    -   

We can see that markdown output produces unintended lists. As consequence, I cannot use the markdown output to beautify a markdown document.

Would it be possible that pandoc avoids a line break before a "-". There might even be other circumstances where something like this happens.

@jgm jgm closed this as completed in 3670dda Jul 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant