fixing the xss problem

Here is the fix for: 

* https://github.com/LaravelIO/laravel.io/issues/120
* https://github.com/LaravelIO/laravel.io/issues/161