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

rare bug in simple table handling #325

Closed
rwst opened this issue Oct 26, 2011 · 2 comments
Closed

rare bug in simple table handling #325

rwst opened this issue Oct 26, 2011 · 2 comments

Comments

@rwst
Copy link

rwst commented Oct 26, 2011

this markdown snippet

1. first

2. second

            Left     Center     Default
-------     ------ ----------   -------
     12     12        12            12
    123     123       123          123
      1     1          1             1

yields a messed up table (in EPUB output), but only if the table follows the enumeration and the first table header is empty.

@rwst
Copy link
Author

rwst commented Oct 26, 2011

OK, I found the section "Ending a list" with the workaround.
Still. I consider it a bug, because the parser can see the table and distinguish it from code.
Also, it is not possible to get a table with empty header within the enumeration, using the workaround.

@jgm
Copy link
Owner

jgm commented Nov 12, 2011

Also, it is not possible to get a table with empty header within the enumeration, using the workaround.

Yes, it is. As with any list continuation, you need to indent the whole table 4 spaces.

I'm going to close this issue. Although in principle it would be possible to check for this kind of case, it would slow down performance for all lists, and it's both rare enough and avoidable enough that I don't think it's worth it.

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

2 participants