title: Formatting comments PHP with XSS security
body: <p>I have comment system based on the forms and PHP catching POST. I'm trying to make some sort of formatting (bold, underscrores, italic...) but I'm using XSS protection: htmlspecialchars().</p>
  
  <p>How to tell PHP not to parse  and other tags? Is any JS editor which can edit text and send it as textarea?</p>