markdown icon indicating copy to clipboard operation
markdown copied to clipboard

blank list item (arguably) misparsed

Open mbutterick opened this issue 6 years ago • 2 comments

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"))

mbutterick avatar May 23 '19 19:05 mbutterick

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.

greghendershott avatar May 23 '19 19:05 greghendershott

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

mbutterick avatar May 23 '19 21:05 mbutterick