add escapeEntities option

yeah, good point!