Ticket #142 (closed enhancement: wontfix)
Special handling of URLs in documentation
|Reported by:||KrzysztofSkrzetnicki||Owned by:||SimonHengel|
It is hard to get URLs like http://example.com right in Haddock documentation. As a result a lot of documentation contain malformed addresses. For example see: http://hackage.haskell.org/package/random-shuffle-0.0.2
It reads: "Random shuffle implementation, on immutable lists. Based on `perfect shuffle' implementation by Oleg Kiselyov, available on http:okmij.orgftpHaskell/perfect-shuffle.txt"
Because '/' conflicts with the syntax reserved for other purposes the link is rendered as "http:okmij.orgftpHaskell/perfect-shuffle.txt". It is easy, but cumbersome, to recreate the original link. One can also go to .cabal file, which includes this description in this form:
description: Random shuffle implementation, on immutable lists. Based on `perfect shuffle' implementation by Oleg Kiselyov, available on http://okmij.org/ftp/Haskell/perfect-shuffle.txt
My proposition is to treat urls in special way: instead of normal processing url should yield a normal link.