Code in the source of a package like:

@
*Main> throw ThisException `catch` \e -> putStrLn (\"Caught \" ++ show (e :: MyException))
Caught ThisException
@
(from the module http://haskell.org/ghc/docs/7.0-latest/html/libraries/base-4.3.0.0/src/GHC-Exception.html#Exception)

gets formatted like:


*Main> throw ThisException catch e -> putStrLn ("Caught " ++ show (e :: MyException))
Caught ThisException

where the underlying HTML is:

</p><pre>
*Main&gt; throw ThisException <code>catch</code> e -&gt; putStrLn (&quot;Caught &quot; ++ show (e :: MyException))
Caught ThisException
</pre><p>

This is a Haddock problem I assume?

 Doaitse