diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2015-09-19 21:54:44 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2015-09-19 22:02:43 +0200 |
commit | 8007dd97b5d403f54c218a178573a818ab80c667 (patch) | |
tree | a4e51f6ab02950f634050802d86aabf068d4a613 /tests/Tests/Writers/AsciiDoc.hs | |
parent | 4d49f76dbb8f51db5fd2527c3ef779996bf8936f (diff) | |
download | pandoc-8007dd97b5d403f54c218a178573a818ab80c667.tar.gz |
Make sure verse blocks can contain empty lines
The previous verse parsing code made the faulty assumption that empty
strings are valid (and empty) inlines. This isn't the case, so lines
are changed to contain at least a newline.
It would generally be nicer and faster to keep the newlines while
splitting the string. However, this would require more code, which
seems unjustified for a simple (and fairly rare) block as *verse*.
This fixes #2402.
Diffstat (limited to 'tests/Tests/Writers/AsciiDoc.hs')
0 files changed, 0 insertions, 0 deletions