Ezio Melotti, 26.09.2012 18:30:
> """
> The problem is that the standard allows some charref to end without a
> ';', but not all of them.
> 
> So both "&Eacuteric" and Éric" will be parsed as "Éric", but
> only "αcentauri" will result in "αcentauri" -- "&alphacentauri"
> will be returned unchanged.
> """
> 
> To preserve this I included them both, in the same way they are listed
> at <http://www.w3.org/TR/html5/named-character-references.html>.

Interesting. Seems to be missing on dailywtf, though. Maybe just an oversight.

Stefan


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to