Added html escape method