Fixes #231

http://trac.haskell.org/haddock/ticket/231