id	summary	reporter	owner	description	type	status	priority	milestone	version	resolution	keywords	cc
234	Including documentation in the export list breaks headings	copton		"Hi

Section [http://www.haskell.org/haddock/doc/html/ch03s04.html 3.4] describes how to add headings and sub-headings to the export list.
Section [http://www.haskell.org/haddock/doc/html/ch03s05.html 3.5] explains how to include documentation directly to the export list.

When mixing these features, the sub-heading following the included documentation is not considered.
 * Input: !FooBroken.hs
 * Output: !FooBroken.html (note the 5th row in particular)

Without the included documentation everything renders fine.
 * Input: !FooWorks.hs
 * Output: !FooWorks.html

I tried various alternatives such as adding and removeing additional empty lines between the heading and the included documentation. It seems to me that included documentation is simply not expected in between of a heading and its sub-heading.

Greetings,

Alex
"	defect	new	major		2.11.0			acopton@…
