Named entities: & ©
Decimal entities: { A
Hex entities: /
Mixed: Use <div> for HTML.
Invalid (remain as text): ¬anentity_with_underscore; � &#xGGGG; &; &# & foo;
Edge cases: &a; (too short) &abcdefghijklmnopqrstuvwxyz01234567890; (too long)