Removes trailing tab after success message HTML