aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Txt2Tags.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-10-29Export all of Text.Pandoc.Class from Text.Pandoc.John MacFarlane1-1/+0
2017-10-27Consistent underline for Readers (#2270)hftf1-2/+3
* Added underlineSpan builder function. This can be easily updated if needed. The purpose is for Readers to transform underlines consistently. * Docx Reader: Use underlineSpan and update test * Org Reader: Use underlineSpan and add test * Textile Reader: Use underlineSpan and add test case * Txt2Tags Reader: Use underlineSpan and update test * HTML Reader: Use underlineSpan and add test case
2017-09-30Removed writerSourceURL, add source URL to common state.John MacFarlane1-4/+2
Removed `writerSourceURL` from `WriterOptions` (API change). Added `stSourceURL` to `CommonState`. It is set automatically by `setInputFiles`. Text.Pandoc.Class now exports `setInputFiles`, `setOutputFile`. The type of `getInputFiles` has changed; it now returns `[FilePath]` instead of `Maybe [FilePath]`. Functions in Class that formerly took the source URL as a parameter now have one fewer parameter (`fetchItem`, `downloadOrRead`, `setMediaResource`, `fillMediaBag`). Removed `WriterOptions` parameter from `makeSelfContained` in `SelfContained`.
2017-06-10Changed all readers to take Text instead of String.John MacFarlane1-38/+40
Readers: Renamed StringReader -> TextReader. Updated tests. API change.
2017-03-14Use tasty for tests rather than test-framework.John MacFarlane1-3/+3
2017-03-04Stylish-haskell automatic formatting changes.John MacFarlane1-5/+3
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+436