You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Done a little more digging. Seems that ordered lists and unordered lists add a 'cr' a the end of each list element. If the list element also ends with a 'blankline' like a blockquote or a 'pre' block, then you get the extra empty line above. Removing the cr at the end of each list element removes the extra blank line, but has other consequences. I think removing the cr from the final list element will solve the problem. In src/Text/Pandoc/Writers/RST.hs, see lines 275, 286, and maybe 294 if the definitionList has the same issue.
Now we do as before, including blank lines after list items in
loose lists (even though RST doesn't care -- this is just a matter
of visual appeal). But we chomp any excess whitespace after the
last list item, which solves #1777.
Input:
Command:
Output:
There's an extraneous blank line in the table.
Tested with latest from git.
The text was updated successfully, but these errors were encountered: