diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-06 10:58:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 10:58:16 (GMT) |
commit | b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3 (patch) | |
tree | 048406e267cb81a26adf0f32f4136a561c433482 | |
parent | 367faf71eae963e613cb4404e24748c91baa4190 (diff) | |
download | cpython-b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3.zip cpython-b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3.tar.gz cpython-b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3.tar.bz2 |
Add source for character mappings (GH-92014) (#92389)
(cherry picked from commit d707d073be5ecacb7ad341a1c1716f4998907d6b)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
-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 |