Ticket #234 (new defect)

Opened 2 years ago

Last modified 2 years ago

Including documentation in the export list breaks headings

Reported by: copton Owned by:
Priority: major Milestone:
Version: 2.11.0 Keywords:
Cc: acopton@…

Description

Hi

Section 3.4 describes how to add headings and sub-headings to the export list. Section 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

Attachments

FooBroken.hs (178 bytes) - added by copton 2 years ago.
example Haskell module triggering the bug
FooBroken.html (461 bytes) - added by copton 2 years ago.
example output HTML file showing the bug
FooWorks.hs (132 bytes) - added by copton 2 years ago.
example Haskell module avoiding the bug
FooWorks.html (348 bytes) - added by copton 2 years ago.
example output HTML file showing the correct behavior

Change History

Changed 2 years ago by copton

example Haskell module triggering the bug

Changed 2 years ago by copton

example output HTML file showing the bug

Changed 2 years ago by copton

example Haskell module avoiding the bug

Changed 2 years ago by copton

example output HTML file showing the correct behavior

Changed 2 years ago by copton

  • cc acopton@… added
Note: See TracTickets for help on using tickets.