[Haskell-cafe] Markup bug in HaskellWiki

2008-03-04 Thread Henning Thielemann


In the Wiki article

  http://haskell.org/haskellwiki/Comparison_chain

 there is the piece

  unzipunzip

 which is improperly formatted.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Markup bug in HaskellWiki

2008-03-04 Thread Dougal Stanton
On 04/03/2008, Henning Thielemann [EMAIL PROTECTED] wrote:

  In the Wiki article

http://haskell.org/haskellwiki/Comparison_chain

   there is the piece

unzipunzip

   which is improperly formatted.

I guess the wiki uses GeSHi, and it's because of a bug in the keyword
list. I reported it to the maintainer a few weeks ago (when I wrote
this [1]) but I haven't heard any word back. It's dead easy to fix if
someone has access to the PHP source.

There's a file called, IIRC, haskell.php with a large list of
keywords. Two of them, 'unzip' and 'unzip3' appear twice. Delete one
of each and it all works fine again.


[1] 
http://www.dougalstanton.net/blog/index.php/2008/02/12/spot-the-deliberate-mistake


-- 
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Markup bug in HaskellWiki

2008-03-04 Thread Wolfgang Jeltsch
Am Dienstag, 4. März 2008 16:10 schrieb Dougal Stanton:
 […]

 There's a file called, IIRC, haskell.php with a large list of
 keywords. Two of them, 'unzip' and 'unzip3' appear twice. Delete one
 of each and it all works fine again.

Why do they appear at all?  They are not keywords.

Best wishes,
Wolfgang
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Markup bug in HaskellWiki

2008-03-04 Thread Henning Thielemann

On Tue, 4 Mar 2008, Wolfgang Jeltsch wrote:

 Am Dienstag, 4. März 2008 16:10 schrieb Dougal Stanton:
  […]

  There's a file called, IIRC, haskell.php with a large list of
  keywords. Two of them, 'unzip' and 'unzip3' appear twice. Delete one
  of each and it all works fine again.

 Why do they appear at all?  They are not keywords.

They link to the online Haddock documentation of Prelude.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Markup bug in HaskellWiki

2008-03-04 Thread Dougal Stanton
On 04/03/2008, Wolfgang Jeltsch [EMAIL PROTECTED] wrote:
 Am Dienstag, 4. März 2008 16:10 schrieb Dougal Stanton:
   […]


   There's a file called, IIRC, haskell.php with a large list of
   keywords. Two of them, 'unzip' and 'unzip3' appear twice. Delete one
   of each and it all works fine again.


 Why do they appear at all?  They are not keywords.

Well, keywords is a bit of a misnomer. Geshi isn't very smart, it just
recognises the standard prelude and adds in links to the online API.


D

-- 
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe