[Python-Dev] [Python-checkins] cpython: Add a few entries to whatsnew/3.3.rst.
Stefan Behnel
stefan_ml at behnel.de
Thu Sep 27 18:35:08 CEST 2012
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 "Éric" 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
More information about the Python-Dev
mailing list