resolve html entities