Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-05 | FB2 writer: represent HorizontalRule as empty line | Alexander Krotov | 1 | -2/+2 | |
HorizontalRule corresponds to <hr> element in the default output format, HTML. Current HTML standard defines <hr> element as "paragraph-level thematic break". In typography it is often represented by extra space or centered asterism ("⁂"), but since FB2 does not support text centering, empty line (similar to extra space) is the only solution. Line breaks, on the other hand, don't generate <empty-line /> anymore. Previously line breaks generated <empty-line /> element inside paragraph, which is not allowed. So, this commit addresses issue #2424 ("FB2 produced by pandoc doesn't validate"). FB2 does not have a way to represent line breaks inside paragraphs. They are replaced with LF character, which is not rendered by FB2 readers, but at least preserves some information. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 1 | -0/+2 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-01-19 | hlint code improvements. | John MacFarlane | 1 | -1/+1 | |
2017-11-01 | FB2 writer: Add "unrecognised" genre to <title-info> | Alexander Krotov | 1 | -1/+1 | |
XML schema requires at least one genre. | |||||
2017-11-01 | FB2 writer: remove <annotation> from <body> | Alexander Krotov | 1 | -1/+1 | |
<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-28 | Add new style FB2 tests | Alexander Krotov | 1 | -0/+34 | |