aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/HTML.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-01-25Provide explicit separate functions for HTML 4 and 5.John MacFarlane1-1/+1
* Text.Pandoc.Writers.HTML: removed writeHtml, writeHtmlString, added writeHtml4, writeHtml4String, writeHtml5, writeHtml5String. * Removed writerHtml5 from WriterOptions. * Renamed default.html template to default.html4. * "html" now aliases to "html5"; to get the old HTML4 behavior, you must now specify "-t html4".
2017-01-25Removed writerHighlight; made writerHighlightStyle a Maybe.John MacFarlane1-1/+1
API change. For no highlighting, set writerHighlightStyle to Nothing.
2017-01-25Update tests to work with runPure.John MacFarlane1-1/+1
2016-10-14Remove Tests.ArbitraryJesse Rosenthal1-1/+1
Use exported Arbitrary instances from pandoc-types instead.
2016-07-14Removed some redundant class constraints.John MacFarlane1-1/+1
2015-12-11Implemented SoftBreak and new `--wrap` option.John MacFarlane1-1/+1
Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701.
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane1-1/+0
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane1-0/+1
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2013-07-13Updated a test whose output changed due to last commit.John MacFarlane1-4/+1
2013-03-05Hide Text.Pandoc.Highlighting.John MacFarlane1-1/+1
* Moved code for translating listings language names to highlighting-kate names and back from LaTeX reader to Highlighting. * Text.Pandoc.Highlighting no longer exposed (API change) * Text.Pandoc.Highlighting exports toListingsLang, fromListingsLang
2013-01-23Eliminated use of TH in test suite.John MacFarlane1-1/+1
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-1/+1
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane1-0/+46