title: Is it a bad idea to store javascript and css in a database?
body: <p>Ok so I'm trying to store user custom css and javascript in mysql database to be used later the head section on the page, so is it a good idea to store css and javascript in a database ? and if not what is the safe way to do this ?</p>
  
  <p>I'm using wordpress and using esc_js() on javascript code I noticed it adds a backslash before quotes, and adds \n instead of new lines, so is it enough for javascript ?</p>
  
  <p>and thanks in advance.</p>