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

blank list item (arguably) misparsed #79

Open
mbutterick opened this issue May 23, 2019 · 2 comments
Open

blank list item (arguably) misparsed #79

mbutterick opened this issue May 23, 2019 · 2 comments

Comments

@mbutterick
Copy link

1. foo

2. 

3. bar

is parsed as

'((ol () (li () "foo")) (p () "2.") (ol () (li () "bar")))

li is typically rendered with an indent and p is not, so you get something like:

   1. foo

2. 
 
   3. bar

Whereas the majority of implementations — assign whatever credibility you like to their opinion — parse this as a single list with a blank li:

'(ol () (li () "foo") (li) (li () "bar"))
@greghendershott
Copy link
Owner

Thanks for the report.

Unless you feel there's greater urgency, I'd like to add this to the same buckets as #78 --- things I'm more likely to fix correctly, if I wait and do them all together in one batch.

@mbutterick
Copy link
Author

There is zero urgency about anything in the world pertaining to markdown.

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