John MacFarlane
052684712b
HTML reader: read data-foo
attribute into foo
.
...
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-03-25 08:43:59 -07:00
Albert Krewinkel
37a82b0b11
Add missing copyright notices and remove license boilerplate ( #5112 )
...
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 .
2019-02-04 13:52:31 -08:00
John MacFarlane
885cbfd420
Only override --quickcheck-tests=N if N is not default value (100).
...
Some of the round-trip tests are set to do a maximum of 25
trials when the default value is given.
Closes #4956 .
2018-10-15 22:15:43 -07:00
John MacFarlane
13f8f3c1a8
HTML, Muse reader tests: reduce time taken by round-trip test.
2018-09-27 09:47:09 -07:00
Alexander Krotov
3f8891b26f
Enable tables in HTML round trip test
2018-09-11 19:24:00 +03:00
Alexander Krotov
ca420983aa
HTML reader tests: accept Blocks in round trip test
2018-09-11 19:23:46 +03:00
Alexander Krotov
1b9dd3e06b
Remove RawBlock from HTML round trip tests
2018-09-10 14:28:28 +03:00
Alexander Krotov
4467fe6d38
HTML reader: test round trip property
2018-09-10 12:15:27 +03:00
John MacFarlane
7e389cb3db
Use NoImplicitPrelude and explicitly import Prelude.
...
This seems to be necessary if we are to use our custom Prelude
with ghci.
Closes #4464 .
2018-03-18 10:46:28 -07:00
John MacFarlane
ff16db1aa3
Automatic reformating by stylish-haskell.
2017-10-27 20:28:29 -07:00
bucklereed
db55f7c1b2
HTML reader: parse <main> like <div role=main>. ( #3791 )
...
* HTML reader: parse <main> like <div role=main>.
* <main> closes <p> and behaves like a block element generally
2017-08-09 09:10:12 -07:00
bucklereed
460b6c470b
HTML reader: Use the lang value of <html> to set the lang meta value. ( #3765 )
...
* HTML reader: Use the lang value of <html> to set the lang meta value.
* Fix for pre-AMP environments.
2017-06-27 10:19:37 +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
John MacFarlane
6ecc5b96a9
Use tasty for tests rather than test-framework.
2017-03-14 17:07:23 +01:00
John MacFarlane
e256c8ce17
Stylish-haskell automatic formatting changes.
2017-03-04 13:03:41 +01:00
John MacFarlane
18ab864269
Moved tests/ -> test/.
2017-02-04 12:56:30 +01:00