Alexander Krotov
8a5541dca8
FB2 writer: remove <annotation> from <body>
...
<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-01 13:08:52 +03:00
Alexander Krotov
d99776ea04
Add new style FB2 tests
2017-10-28 21:08:48 +03:00
John MacFarlane
ff16db1aa3
Automatic reformating by stylish-haskell.
2017-10-27 20:28:29 -07:00
John MacFarlane
83d856ee6c
Fixed writer tests not to use writerUserDataDir.
2017-08-10 23:51:42 -07:00
Alexander
b50de96502
Muse writer: insert two blanklines between lists of the same type ( #3844 )
2017-08-08 14:05:49 -07:00
John MacFarlane
4e8f7a1796
Fix docx writer test for ghc 8.2.1.
...
Workaround for different behavior of Data.Unique in different ghc
versions.
2017-07-15 11:39:01 +02:00
John MacFarlane
3871a73e0f
Rearrange docx writer roundtrip test.
...
I'm hoping this gives reproducible results on ghc 8.2.1.
2017-07-15 09:14:17 +02:00
John MacFarlane
4e9e1bae7c
Refactored compareOutput in docx writer test
2017-07-14 23:39:33 +02:00
Alexander Krotov
de117fbd9e
Muse writer: indent lists inside <quote> with at least one space ( #3795 )
2017-07-12 17:16:02 +02:00
Alexander Krotov
fa515e46f3
Muse writer: fix hlint errors ( #3764 )
2017-06-26 15:07:45 +02:00
John MacFarlane
fa719d0264
Switched Writer types to use Text.
...
* 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-11 00:46:31 +02:00
John MacFarlane
94b3dacb4e
Changed all readers to take Text instead of String.
...
Readers: Renamed StringReader -> TextReader.
Updated tests.
API change.
2017-06-10 18:26:44 +02:00
Alexander Krotov
69110cde81
Muse writer: Indent tables with one space ( #3649 )
...
It is required to trigger Muse table rendering.
2017-05-07 21:41:38 +02:00
John MacFarlane
14edbd2967
Removed unneeded import.
2017-03-14 21:30:15 +01:00
John MacFarlane
6ecc5b96a9
Use tasty for tests rather than test-framework.
2017-03-14 17:07:23 +01:00
Alexander Krotov
d037c5019d
Add Muse writer ( #3489 )
...
* Add Muse writer
* Advertise new Muse writer
* Muse writer: add regressions tests
2017-03-10 10:16:27 +01:00
John MacFarlane
93a9c09b6b
Speed up Native writer quickcheck tests.
2017-03-07 15:14:36 +01:00
John MacFarlane
e256c8ce17
Stylish-haskell automatic formatting changes.
2017-03-04 13:03:41 +01:00
John MacFarlane
fe4311d5a1
LaTeX writer: always add hypertarget when there's a non-empty identifier.
...
Previously the hypertargets were only added when there was actually
a link to that identifier. Closes #2719 .
2017-03-01 21:38:28 +01:00
Alexander Krotov
48f809384a
Add Org writer unit tests
2017-02-12 17:09:07 +03:00
John MacFarlane
18ab864269
Moved tests/ -> test/.
2017-02-04 12:56:30 +01:00