aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Nesting.hs
Commit message (Collapse)AuthorAgeFilesLines
* 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