I see that htmlentitydefs.name2codepoint does not include 'apos' as one of the 
recognized names. Is this intentional or a bug?

In fact ' is not a recognized entity in HTML 4.01; see this list:
http://www.w3.org/TR/html4/sgml/entities.html#misc

But it is recognized in XHTML 1.0:
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_Special_characters

and AFAIK it is commonly supported by browsers which IMO argues that it should 
be included.

Any thoughts?
Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to