convert html entities from import