diff options
author | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2015-06-03 05:25:29 +0100 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2015-06-03 05:25:29 +0100 |
commit | 194f382f84a401a82464438820f074aa7851b725 (patch) | |
tree | c9c546ae24c4a1dcc779809050ce627c21c26072 /doc | |
parent | 3536512c4658a51b72a9b879f372fa08ed402d9c (diff) |
Update docs with info on new list nesting rule
Fixes #278 through commits from PR #401
Diffstat (limited to 'doc')
-rw-r--r-- | doc/haddock.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/haddock.xml b/doc/haddock.xml index 2ffd7d78..f6cd4d4d 100644 --- a/doc/haddock.xml +++ b/doc/haddock.xml @@ -2029,7 +2029,18 @@ This belongs to the list above! 2. No newline separation even in indented lists. -} </programlisting> + <para>The indentation of the first list item is honoured. That is, + in the following example the items are on the same level. Before + Haddock 2.16.1, the second item would have been nested under the + first item which was unexpected. + </para> +<programlisting> +{-| + * foo + * bar +-} +</programlisting> </section> <section> |