Last active
August 29, 2015 14:04
-
-
Save 23Skidoo/b8ca09560f7aea0575ae to your computer and use it in GitHub Desktop.
Haddock list rendering bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | The first list is incorrectly numbered as 1. 2. 1.; the second example | |
-- renders fine (1. 2. 3.). | |
-- | |
-- See https://github.com/haskell/haddock/issues/313 | |
module HaddockListBug | |
where | |
{- | | |
Some text. | |
1. Item 1 | |
2. Item 2 | |
> Some code | |
3. Item 3 | |
Some more text. | |
-} | |
a :: a | |
a = undefined | |
{- | | |
Some text. | |
1. Item 1 | |
2. Item 2 | |
> Some code | |
3. Item 3 | |
-} | |
-- | Some more text. | |
b :: a | |
b = undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment