Named entities: & ©  

Decimal entities: { A

Hex entities:  /

Mixed: Use <div> for HTML.

Invalid (remain as text): &notanentity_with_underscore; &#12345678; &#xGGGG; &; &# & foo;

Edge cases: &a; (too short) &abcdefghijklmnopqrstuvwxyz01234567890; (too long)