And I'm talking (especially) forums here - [PHP]code here[/PHP] - style. Some forums escape double quotes or other "dangerous characters" and others don't.
What is the best method? What are you guys using? Can it be done without the fear of code injection?
Edit: Who said anything about reinventing the wheel?