We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.
The new code for posting PHP strips out escaping slashes.
These two bits of code are the same, but, obviously, only one of them looks like it will work:
Grim... wrote:The new code for posting PHP strips out escaping slashes.
These two bits of code are the same, but, obviously, only one of them looks like it will work:
Testing against latest 1.2 version of Geshi, the problem does not exist. Which version does the phpBB mod use anyway?
Hmm, it uses v1.2. Maybe I shouldn't be blaming Geshi but rather, the author of the mod
It'll just be something silly like he/she designed the mod with magic quotes on or something... not had a chance to look yet... really busy. Certain smilies also get parsed Not seen any other issues thus far.
timvw wrote:I can't reproduce the problem either... (I do seem to remember that the phpbb mod isn't supported anymore because of some differences of opinion...)
Don't know.. I wrote my own simple plugin for wordpress that uses geshi.. And i wasn't able to reproduce the problem... That's why i blame it on the mod
While we are talking about it, I just wanted to put in my 2 cents. The font being used isn't hinted (at least on Windows XP) which makes it difficult to read, especially with light colors. I recommend changing the font to something else.
tags and replace the 'body' with geshi->parse_code?[/quote]
At the moment we simply redirect parsing in [php ] tags to geshi_highlight() which is part of the mod. We could do what you're saying just for [php ] tags but the issue still affects all [syntax ] tags.