Skip to content

Commit b5f5993

Browse files
Add source for character mappings (GH-92014) (#92389)
(cherry picked from commit d707d07) Co-authored-by: slateny <[email protected]> Co-authored-by: slateny <[email protected]>
1 parent 367faf7 commit b5f5993

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/html/entities.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
# maps the HTML entity name to the Unicode code point
7+
# from https://html.spec.whatwg.org/multipage/named-characters.html
78
name2codepoint = {
89
'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1
910
'Aacute': 0x00c1, # latin capital letter A with acute, U+00C1 ISOlat1

0 commit comments

Comments
 (0)