[haddock] #118: parsing of multiple URLs (greedy matching?)

haddock haddock at projects.haskell.org
Wed Jul 22 11:19:48 EDT 2009


#118: parsing of multiple URLs (greedy matching?)
-------------------+--------------------------------------------------------
Reporter:  kowey   |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  2.5.0
 Version:  2.4.2   |    Keywords:       
-------------------+--------------------------------------------------------
 This bug is actually against Cabal/hackage (see
 http://hackage.haskell.org/trac/hackage/ticket/569), but I'm cross-posting
 here in case it's still relevant to haddock.  Hopefully this is just a
 matter of marking it already closed.

 It appears that strings with more than one URL in them are parsed
 incorrectly.  For example,
 {{{
 See <http://www.mediawiki.org/wiki/API> and <http://haskell.forkio.com/>
 }}}
 gets treated as though there was only one URL.  I get the impression that
 there's some kind of greedy matching going on, like a "<.*>" in regexp
 terms.

 This manifests as funny looking output on hackage, eg.
 http://hackage.haskell.org/package/mediawiki

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/118>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list