Adding in a function which cleans up some html characters