Message163634
| Author |
ezio.melotti |
| Recipients |
Brian.Jones, eric.araujo, eric.smith, ezio.melotti, hp.dekoning, loewis |
| Date |
2012年06月23日.16:13:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340468039.1.0.143409938404.issue11113@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attached another file with a dict that contains the 2231 HTML5 entities listed at http://www.w3.org/TR/html5/named-character-references.html
The dict is like:
html5namedcharref = {
'Aacute;': '\xc1',
'Aacute': '\xc1',
'aacute;': '\xe1',
'aacute': '\xe1',
'Abreve;': '\u0102',
'abreve;': '\u0103',
...
}
A better name could be found for the dict if you have better ideas (maybe html.entities.html5 only?). The dict will be added to html.entities. |
|