title: storing code snippets in a database
body: <p>I want to make a code snippet database  web application.  Would the best way to store it in the database be to html encode everything to prevent XSS when displaying the snippets on the web page?</p>
  
  <p>Thanks for the help!</p>