Added code to santize the URL, button text and CSS classes.