fix haddock formatting for module headers