Expand the five basic entities in HTML attributes when reading.

Expand the five basic entities in HTML attributes when reading. Ignore malformed/unknown entities. Incidentally, IMO the problem that this patch addresses is the root of issue #577.