aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Writers
AgeCommit message (Collapse)AuthorFilesLines
2017-12-13fig, table-wrap & caption Divs for JATS writerHamish Mackenzie1-0/+119
Support writing <fig> and <table-wrap> elements with <title> and <caption> inside them by using Divs with class set to on of fig, table-wrap or cation. The title is included as a Heading so the constraint on where Heading can occur is also relaxed. Also leaves out empty alt attributes on links.
2017-11-24Muse writer: test that inline math conversion result is normalizedAlexander Krotov1-0/+1
Without normalization this test produced <em>a</em><em>b</em><em>c</em>
2017-11-24Muse: move inline list normalization to writerAlexander Krotov1-0/+1
2017-11-22Muse writer: escape hash symbolAlexander Krotov1-0/+2
2017-11-22Muse writer: escape "----" to avoid accidental horizontal rulesAlexander Krotov1-0/+1
2017-11-22Muse writer: escape only </code> inside code tagAlexander Krotov1-2/+1
Additional <verbatim> is not needed as <code> is verbatim already.
2017-11-13Replace "emacs" extension with "amuse" extensionAlexander Krotov1-1/+3
It makes clear that extension is related to Muse markup.
2017-11-01FB2 writer: Add "unrecognised" genre to <title-info>Alexander Krotov1-1/+1
XML schema requires at least one genre.
2017-11-01FB2 writer: remove <annotation> from <body>Alexander Krotov1-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-28Add new style FB2 testsAlexander Krotov1-0/+34
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane2-6/+6
2017-08-10Fixed writer tests not to use writerUserDataDir.John MacFarlane1-3/+3
2017-08-08Muse writer: insert two blanklines between lists of the same type (#3844)Alexander1-0/+73
2017-07-15Fix docx writer test for ghc 8.2.1.John MacFarlane1-1/+9
Workaround for different behavior of Data.Unique in different ghc versions.
2017-07-15Rearrange docx writer roundtrip test.John MacFarlane1-4/+4
I'm hoping this gives reproducible results on ghc 8.2.1.
2017-07-14Refactored compareOutput in docx writer testJohn MacFarlane1-7/+6
2017-07-12Muse writer: indent lists inside <quote> with at least one space (#3795)Alexander Krotov1-0/+11
2017-06-26Muse writer: fix hlint errors (#3764)Alexander Krotov1-2/+2
2017-06-11Switched Writer types to use Text.John MacFarlane8-13/+20
* XML.toEntities: changed type to Text -> Text. * Shared.tabFilter -- fixed so it strips out CRs as before. * Modified writers to take Text. * Updated tests, benchmarks, trypandoc. [API change] Closes #3731.
2017-06-10Changed all readers to take Text instead of String.John MacFarlane1-2/+4
Readers: Renamed StringReader -> TextReader. Updated tests. API change.
2017-05-07Muse writer: Indent tables with one space (#3649)Alexander Krotov1-9/+9
It is required to trigger Muse table rendering.
2017-03-14Removed unneeded import.John MacFarlane1-1/+0
2017-03-14Use tasty for tests rather than test-framework.John MacFarlane13-48/+51
2017-03-10Add Muse writer (#3489)Alexander Krotov1-0/+273
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests
2017-03-07Speed up Native writer quickcheck tests.John MacFarlane1-2/+4
2017-03-04Stylish-haskell automatic formatting changes.John MacFarlane11-36/+35
2017-03-01LaTeX writer: always add hypertarget when there's a non-empty identifier.John MacFarlane1-1/+1
Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719.
2017-02-12Add Org writer unit testsAlexander Krotov1-0/+25
2017-02-04Moved tests/ -> test/.John MacFarlane11-0/+1254