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.
viewtopic.php?f=1&t=78010&p=439570#p439570
I'm guessing I'm not the only one that spots the problem? Edit 1: Also, the code=php and php tags seems to automaticly add \r\n's while editing posts sometimes. Edit 2: Especially when choosing to edit you own post. A new \r\n is added...
No, didn't think so either. I've modded phpbb3 for some o' months now and never had these issues myself, even after adding hombrew bbcode java/php/sql/aso snippets.
I do know however that the phpbb2-phptag-version of phpdn was 'slightly' (understatment of the year?) edited so I just thought that it were a phpbb3 version aswell somewhere.
Good luck tho! I'm sure it's a simple stupid thingy...
You know what? I am almost certain that it does. I was using a WordPress GeSHi plugin that required addslashes in order to post PHP code correctly. I think you are right Chris.
^^ That does not look like a bug. That's something I'd expect, because you have 3 spaces before the first line there, not 4. Also, in the second code block you entered a newline after the [ code ] tag, so it showed up empty. I usually put the <?php ?> tags alongside the [ code ] blocks