Moves htmlEntities to util