aboutsummaryrefslogtreecommitdiff
path: root/test/fb2
AgeCommit message (Collapse)AuthorFilesLines
2018-04-07FB2 writer: output links inline instead of producing notesAlexander Krotov1-1/+1
Previously all links were turned into footnotes with unclickable URLs inside.
2018-04-04FB2 writer: allow emphasis and notes in titlesAlexander Krotov2-2/+2
Only <p> and <empty-line /> are allowed in titles, but <p> has the same type as an ordinary paragraphs. Therefore, there is no need to remove emphasis from titles. Also, don't intersperse paragraph with empty lines.
2017-11-01FB2 writer: Add "unrecognised" genre to <title-info>Alexander Krotov5-5/+5
XML schema requires at least one genre.
2017-11-01FB2 writer: remove <annotation> from <body>Alexander Krotov5-5/+5
<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-10-29Write FB2 lists without nesting blocks inside <p> (#4004)Alexander1-1/+1
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-06-11Don't allow backslash + newline to affect block structure.John MacFarlane2-5/+1
Note that as a result of this change, the following, which formerly produced a header with two lines separated by a line break, will now produce a header followed by a paragraph: # Hi\ there This may affect some existing documents that relied on this undocumented and unintended behavior. This change makes pandoc more consistent with other Markdown implementations, and with itself (since the two-space version of a line break doesn't work inside ATX headers, and neither version works inside Setext headers). Closes #3730.
2017-02-04Moved tests/ -> test/.John MacFarlane12-0/+92