[Wikitext-l] How to define <nowiki>?

Mark Clements gmane at kennel17.co.uk
Thu Nov 22 02:20:34 UTC 2007


----- Original Message -----
From: "Steve Bennett" <stevagewp at gmail.com>
To: "Wikitext-l" <wikitext-l at lists.wikimedia.org>
Sent: 22 November 2007 01:44
Subject: Re: [Wikitext-l] How to define <nowiki>?


> On 11/22/07, Thomas Dalton <thomas.dalton at gmail.com> wrote:
> > All we need to do to fix that is to escape the contents of nowiki
> > tags. I can't see that breaking anything.
>
> Heh. Define "escape". It's not that simple.
>
> In a C program, there is exactly one place where you can "escape"
> anything: in a string literal. This doesn't work: void m\ain (void)...
>
> In wikitext, it could be *anywhere*.
>

I think he means pass the contents of <nowiki> through htmlspecialchars()
before outputting.

PS - Can we get this list onto Gmane like the others?

- Mark Clements (HappyDog)




More information about the Wikitext-l mailing list