replace entities with their literals

@LeaVerou as you wish... I hope I got it right :wink: