title: Allowing code snippets in form input while preventing XSS and SQL injection attacks
body: <p>How can one allow code snippets to be entered into an editor (as stackoverflow does) like FCKeditor or any other editor while preventing XSS, SQL injection, and related attacks.</p>