Page 1 of 1
Project Euler forums crux
Posted: Wed Oct 03, 2007 9:09 am
by wraith
I'm talking about the per-problem forums, not about this one. Suddenly posts with longer code snippets stopped showing in their entirety. At first I thought that there might be a database problem, but when I quote them (or try to edit mine) the full text appears. Is this an intended feature?
It can be seen here:
http://www.projecteuler.net/index.php?s ... =88&page=4
Re: Project Euler forums crux
Posted: Wed Oct 03, 2007 9:57 am
by hk
I see what the problem is.
It seems that the code tag does not work properly.
It should replace < and > by something that can be read as such. As it now stands everything after a < is skipped until a > is met. Colin, nuts and bolts to be placed again in their right place again I think....
Re: Project Euler forums crux
Posted: Wed Oct 03, 2007 8:50 pm
by euler
Nuts and bolts guy reporting in.
wraith wrote:Is this an intended feature?
I like it,
wraith. That really made me chuckle and cheered up my day.

Perhaps I could get a job with Microsoft... "Sorry, sir, I object to your constant reference to bugs in our products. We prefer to call them features."
Sorry for the trouble guys! I made some serious changes to the way that posts are parsed to deal with XSS exploitation issues and it meant taking the steps of stopping HTML from being used. With actions as drastic as this there are inevitable and unforeseen knock-on effects.
I think I've fixed the current problem, but it is likely that in doing so I've created a new problem. If anyone should notice any other peculiarities - apart from the obvious fact that previously posted HTML now appears without being "processed" - please let me know.