diff options
author | Alexander <ilabdsf@gmail.com> | 2017-10-29 21:46:44 +0300 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-29 14:46:44 -0400 |
commit | 3263d0d7c4052307ce38f342800197dec5a3fba0 (patch) | |
tree | 45468aef4832892a3ec377bef582b68a13162552 /src/Text/Pandoc/Writers/RST.hs | |
parent | e8be4b0b6d47f74a74a59d9cc49b68a40de314c9 (diff) | |
download | pandoc-3263d0d7c4052307ce38f342800197dec5a3fba0.tar.gz |
Write FB2 lists without nesting blocks inside <p> (#4004)
According to FB2 XML schema <empty-line /> cannot be placed inside
<p>. Linux FBReader can't display such paragraphs, e.g. any "loose"
lists produced by pandoc prior to this commit. Besides that,
FB2 writer placed <p> inside <p> when writing nested lists,
this commit fixes the bug.
Also this commit removes leading non-breaking space from ordered
lists for consistency with bullet lists.
Definition lists are not affected at all.
Diffstat (limited to 'src/Text/Pandoc/Writers/RST.hs')
0 files changed, 0 insertions, 0 deletions