Implemented XSS prevention fix.