aboutsummaryrefslogtreecommitdiff
path: root/test/writer.fb2
AgeCommit message (Collapse)AuthorFilesLines
2017-11-01FB2 writer: Add "unrecognised" genre to <title-info>Alexander Krotov1-0/+1
XML schema requires at least one genre.
2017-11-01FB2 writer: remove <annotation> from <body>Alexander Krotov1-5/+0
<annotation> is not allowed inside <body> according to FictionBook2 XML schema. Besides that, the same information is already placed inside <description>. Related bug: #2424
2017-11-01Merge pull request #4008 from labdsf/fb2-bulletsJohn MacFarlane1-10/+10
FB2 writer: make bullet lists consistent with ordered lists
2017-10-31FB2 writer: write blocks outside of <p> in definitionsAlexander Krotov1-34/+36
2017-10-31FB2 writer: make bullet lists consistent with ordered listsAlexander Krotov1-10/+10
Previously bullet lists interacted in odd way with ordered lists. For example, bullet lists nested in ordered list had incorrect indentation. Besides that, indentation with spaces is not rendered by FBReader and fbless. To avoid this problem, bullet lists are indented by appending bullets to marker just the same way it is done for ordered lists.
2017-10-29Write FB2 lists without nesting blocks inside <p> (#4004)Alexander1-82/+86
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.
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-2/+1012
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-02-17Added warnings for non-rendered blocks to some writers.John MacFarlane1-1/+2
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+2