#660 added more logic to remove escaped html characters when auto generating the name and summary of a text block