pandoc/test/Tests/Writers
Alexander Krotov f224567d52 FB2 writer: represent HorizontalRule as empty line
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-04-05 19:53:36 +03:00
..
AsciiDoc.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
ConTeXt.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
Docbook.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
Docx.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
FB2.hs FB2 writer: represent HorizontalRule as empty line 2018-04-05 19:53:36 +03:00
HTML.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
JATS.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
LaTeX.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
Markdown.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
Muse.hs Muse writer: escape horizontal rule only if at the beginning of the line 2018-04-05 19:49:09 +03:00
Native.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
OOXML.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
Org.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
Plain.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
Powerpoint.hs Powerpoint writer: add tests for improved speaker notes. 2018-03-21 10:07:07 -04:00
RST.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00
TEI.hs Use NoImplicitPrelude and explicitly import Prelude. 2018-03-18 10:46:28 -07:00