summaryrefslogtreecommitdiff
path: root/tests/Tests/Readers/HTML.hs
AgeCommit message (Collapse)Author
2017-02-04Moved tests/ -> test/.John MacFarlane
2017-01-25Update all tests to use new readers and error structure.Jesse Rosenthal
2016-11-13HTML reader: only treat "a" element as link if it has href.John MacFarlane
Otherwise treat as span. Closes #3226.
2016-10-24Export Text.Pandoc.Error in Text.Pandoc.John MacFarlane
[API change]
2016-10-14Remove Tests.ArbitraryJesse Rosenthal
Use exported Arbitrary instances from pandoc-types instead.
2016-03-10Fixed behavior of base tag.John MacFarlane
+ If the base path does not end with slash, the last component will be replaced. E.g. base = `http://example.com/foo` combines with `bar.html` to give `http://example.com/bar.html`. + If the href begins with a slash, the whole path of the base is replaced. E.g. base = `http://example.com/foo/` combines with `/bar.html` to give `http://example.com/bar.html`. Closes #2777.
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2015-05-13HTML reader: Support base tag.John MacFarlane
We only support the href attribute, as there's no place for "target" in the Pandoc document model for links. Added HTML reader test module, with tests for this feature. Closes #1751.