deal with encoded html entities