From d7ab52b6d4c8fa8931d2658dbd58a0b25b9c32a3 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Thu, 28 Apr 2022 00:16:08 -0700 Subject: [PATCH] Add source for character mappings --- Lib/html/entities.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/html/entities.py b/Lib/html/entities.py index 91ea5da2af49d3..dc508631ac4789 100644 --- a/Lib/html/entities.py +++ b/Lib/html/entities.py @@ -4,6 +4,7 @@ # 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