handle html characters when displayed on webpage