Update the page title and escape message HTML