I think this is probably not the right place to ask this kind of question. However, looking at the Parser.php file I don't see anything that explicitly tries to sanitize data although there is a file called Sanitize.php that appears to disallow some HTML tags among other things.
If you are really concerned about security, then you will probably have to really dig into the code and modify it to do what you want.