aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Nesting.hs
Commit message (Collapse)AuthorAgeFilesLines
* html-test: Always set languageJoachim Breitner2021-02-221-0/+1
| | | | | | | | | | from ghc-9.2 on, the “default” langauge of GHC is expected to change more wildly. To prepare for that (and unblock https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4853), this sets the language for all the test files to `Haskell2010`. This should insolate this test suite against changes to the default. Cherry-picked from https://github.com/haskell/haddock/pull/1341
* Add simple test case for arbitrary-depth list nesting.Łukasz Hanuszczak2015-05-271-0/+15
|
* Strip a single leading space from bird tracks (#201)Niklas Haas2014-02-221-0/+6
| | | | | | | | | | | | | | | | | | | | This makes bird tracks in the form > foo > bar > bat parse as if they had been written as >foo >bar >bat ie. without the leading whitespace in front of every line. Ideally we also want to look into how leading whitespace affects code blocks written using the @ @ syntax, which are currently unaffected by this patch.
* Allow for nesting of paragraphs under lists.Mateusz Kowalczyk2014-01-121-0/+115
The nesting rules are similar to Markdown's with the exception that we can not simply indent the first line of a hard wrapped indented paragraph and have it treated as if it was fully indented. The reason is differences in markup as some of our constructs care about whitespace while others just swallow everything up so it's just a lot easier to not bother with it rather than making arbitrary rules. Note that we now drop trailing for string entities inside of lists. They weren't needed and it makes the output look uniform whether we use a single or double newline between list elements. Conflicts: src/Haddock/Parser.hs test/Haddock/ParserSpec.hs