Fix XSS Vulnerability

Not sure if htmlsafe() is declared or not, if it is not then make sure to include 'include/functions.php'