diff options
author | slateny <46876382+slateny@users.noreply.github.com> | 2022-05-06 10:28:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 10:28:09 (GMT) |
commit | d707d073be5ecacb7ad341a1c1716f4998907d6b (patch) | |
tree | 3b0fda86f22066bf1ca1c2c7b92bcedb61aa148a /Lib/html | |
parent | 6f18b86fda516df9ba7614423ba5c8d0fcf366ba (diff) | |
download | cpython-d707d073be5ecacb7ad341a1c1716f4998907d6b.zip cpython-d707d073be5ecacb7ad341a1c1716f4998907d6b.tar.gz cpython-d707d073be5ecacb7ad341a1c1716f4998907d6b.tar.bz2 |
Add source for character mappings (#92014)
Diffstat (limited to 'Lib/html')
-rw-r--r-- | Lib/html/entities.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/html/entities.py b/Lib/html/entities.py index 91ea5da..dc50863 100644 --- a/Lib/html/entities.py +++ b/Lib/html/entities.py @@ -4,6 +4,7 @@ __all__ = ['html5', 'name2codepoint', 'codepoint2name', 'entitydefs'] # maps the HTML entity name to the Unicode code point +# from https://html.spec.whatwg.org/multipage/named-characters.html name2codepoint = { 'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1 'Aacute': 0x00c1, # latin capital letter A with acute, U+00C1 ISOlat1 |