----- Original Message ----- From: "Steve Bennett" stevagewp@gmail.com To: "Wikitext-l" wikitext-l@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@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)