decode the HTML message