aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/HTML.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-10-23Add Reader support for HTML <samp> element (#5843)Amogh Rathore1-0/+6
The `<samp>` element is parsed as a Span with class `sample`. Closes #5792.
2019-03-25HTML reader: read `data-foo` attribute into `foo`.John MacFarlane1-1/+1
The HTML writer adds the `data-` prefix for HTML5 for nonstandard attributes. But the attributes are represented in the AST without the `data-` prefix, so we should strip this when reading HTML. Closes #5392.
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel1-0/+11
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592.
2018-10-15Only override --quickcheck-tests=N if N is not default value (100).John MacFarlane1-1/+6
Some of the round-trip tests are set to do a maximum of 25 trials when the default value is given. Closes #4956.
2018-09-27HTML, Muse reader tests: reduce time taken by round-trip test.John MacFarlane1-3/+5
2018-09-11Enable tables in HTML round trip testAlexander Krotov1-1/+0
2018-09-11HTML reader tests: accept Blocks in round trip testAlexander Krotov1-2/+2
2018-09-10Remove RawBlock from HTML round trip testsAlexander Krotov1-0/+1
2018-09-10HTML reader: test round trip propertyAlexander Krotov1-0/+23
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane1-1/+1
2017-08-09HTML reader: parse <main> like <div role=main>. (#3791)bucklereed1-0/+15
* HTML reader: parse <main> like <div role=main>. * <main> closes <p> and behaves like a block element generally
2017-06-27HTML reader: Use the lang value of <html> to set the lang meta value. (#3765)bucklereed1-0/+6
* HTML reader: Use the lang value of <html> to set the lang meta value. * Fix for pre-AMP environments.
2017-06-10Changed all readers to take Text instead of String.John MacFarlane1-1/+2
Readers: Renamed StringReader -> TextReader. Updated tests. API change.
2017-03-14Use tasty for tests rather than test-framework.John MacFarlane1-2/+2
2017-03-04Stylish-haskell automatic formatting changes.John MacFarlane1-3/+2
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+33