I made a form site with nodejs.But i dont know -Which characters(from textarea) should i allow for users's comments?For exapmle / " ' () {} . , ; : ! ?(punctuation marks) i want to allow this characters.These characters are a problem for security?I use mongodb for database.Like stackoverflow comment area.We can add all characters in our comments and they saved.
<form action="/comment" method="post" enctype="" id="myForm" onsubmit="myFunction()">
<textarea></textarea>
</form>