aboutsummaryrefslogtreecommitdiff
path: root/doc/haddock.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/haddock.xml')
-rw-r--r--doc/haddock.xml11
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>