[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

RE: [pygame] < in wiki?



Chris,

That's about right.  I run all the data through a html cleaner script...

I'll have to give this one a bit of thought.  Seems like I'll have to take the content of the <code> areas out of the HTML before it is cleaned and then replace it back in or something...

I'll put this on my TODO for my next website update.

Phil

Chris Ashurst <CAshurst@xxxxxxxx> wrote:
Sounds like the problem is that the POST action on the initial submit
translates all html special characters to their "safe" equivalents, and then
when the wiki article is called for display it replaces all ampersand
characters with its safe equivalent again, ie: "<" --> "<" --> "&lt;"

Err... Not sure how this information will actually help (or even if it's
correct!), but I've definitely encountered that situation before (even with
my own stuff, as a result of being htmlspecialchar nazi).


~Chris

-----Original Message-----
From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx]On
Behalf Of Ethan Glasser-Camp
Sent: Thursday, August 31, 2006 19:38
To: pygame-users@xxxxxxxx
Subject: [pygame] < in wiki?


Seems like when I post code in the cookbook with a < (less-than sign),
it gets replaced by <, and then remains < in the entry. Is there
something I can do about this?

Ethan





CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.


Stay in the know. Pulse on the new Yahoo.com. Check it out.