blob: 55aefaa5ed1efb25b535949b2108e01356fdb3d7 [file] [log] [blame]
Guido van Rossumc52c1e91995-09-27 16:22:08 +00001# Proposed entity definitions for HTML, taken from
2# http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_14.html
3
4entitydefs = {
Guido van Rossumd58364e1995-10-06 15:26:52 +00005 'lt': '<',
6 'gt': '>',
7 'amp': '&',
Guido van Rossum7a623d71996-05-28 23:18:55 +00008 'quot': '"',
Guido van Rossumc52c1e91995-09-27 16:22:08 +00009 'nbsp': chr(160), # no-break space
10 'iexcl': chr(161), # inverted exclamation mark
11 'cent': chr(162), # cent sign
12 'pound': chr(163), # pound sterling sign
13 'curren': chr(164), # general currency sign
14 'yen': chr(165), # yen sign
15 'brvbar': chr(166), # broken (vertical) bar
16 'sect': chr(167), # section sign
17 'uml': chr(168), # umlaut (dieresis)
18 'copy': chr(169), # copyright sign
19 'ordf': chr(170), # ordinal indicator, feminine
20 'laquo': chr(171), # angle quotation mark, left
21 'not': chr(172), # not sign
22 'shy': chr(173), # soft hyphen
23 'reg': chr(174), # registered sign
24 'macr': chr(175), # macron
25 'deg': chr(176), # degree sign
26 'plusmn': chr(177), # plus-or-minus sign
27 'sup2': chr(178), # superscript two
28 'sup3': chr(179), # superscript three
29 'acute': chr(180), # acute accent
30 'micro': chr(181), # micro sign
31 'para': chr(182), # pilcrow (paragraph sign)
32 'middot': chr(183), # middle dot
33 'cedil': chr(184), # cedilla
34 'sup1': chr(185), # superscript one
35 'ordm': chr(186), # ordinal indicator, masculine
36 'raquo': chr(187), # angle quotation mark, right
37 'frac14': chr(188), # fraction one-quarter
38 'frac12': chr(189), # fraction one-half
39 'frac34': chr(190), # fraction three-quarters
40 'iquest': chr(191), # inverted question mark
41 'Agrave': chr(192), # capital A, grave accent
42 'Aacute': chr(193), # capital A, acute accent
43 'Acirc': chr(194), # capital A, circumflex accent
44 'Atilde': chr(195), # capital A, tilde
45 'Auml': chr(196), # capital A, dieresis or umlaut mark
46 'Aring': chr(197), # capital A, ring
47 'AElig': chr(198), # capital AE diphthong (ligature)
48 'Ccedil': chr(199), # capital C, cedilla
49 'Egrave': chr(200), # capital E, grave accent
50 'Eacute': chr(201), # capital E, acute accent
51 'Ecirc': chr(202), # capital E, circumflex accent
52 'Euml': chr(203), # capital E, dieresis or umlaut mark
53 'Igrave': chr(204), # capital I, grave accent
54 'Iacute': chr(205), # capital I, acute accent
55 'Icirc': chr(206), # capital I, circumflex accent
56 'Iuml': chr(207), # capital I, dieresis or umlaut mark
57 'ETH': chr(208), # capital Eth, Icelandic
58 'Ntilde': chr(209), # capital N, tilde
59 'Ograve': chr(210), # capital O, grave accent
60 'Oacute': chr(211), # capital O, acute accent
61 'Ocirc': chr(212), # capital O, circumflex accent
62 'Otilde': chr(213), # capital O, tilde
63 'Ouml': chr(214), # capital O, dieresis or umlaut mark
64 'times': chr(215), # multiply sign
65 'Oslash': chr(216), # capital O, slash
66 'Ugrave': chr(217), # capital U, grave accent
67 'Uacute': chr(218), # capital U, acute accent
68 'Ucirc': chr(219), # capital U, circumflex accent
69 'Uuml': chr(220), # capital U, dieresis or umlaut mark
70 'Yacute': chr(221), # capital Y, acute accent
71 'THORN': chr(222), # capital THORN, Icelandic
72 'szlig': chr(223), # small sharp s, German (sz ligature)
73 'agrave': chr(224), # small a, grave accent
74 'aacute': chr(225), # small a, acute accent
75 'acirc': chr(226), # small a, circumflex accent
76 'atilde': chr(227), # small a, tilde
77 'auml': chr(228), # small a, dieresis or umlaut mark
78 'aring': chr(229), # small a, ring
79 'aelig': chr(230), # small ae diphthong (ligature)
80 'ccedil': chr(231), # small c, cedilla
81 'egrave': chr(232), # small e, grave accent
82 'eacute': chr(233), # small e, acute accent
83 'ecirc': chr(234), # small e, circumflex accent
84 'euml': chr(235), # small e, dieresis or umlaut mark
85 'igrave': chr(236), # small i, grave accent
86 'iacute': chr(237), # small i, acute accent
87 'icirc': chr(238), # small i, circumflex accent
88 'iuml': chr(239), # small i, dieresis or umlaut mark
89 'eth': chr(240), # small eth, Icelandic
90 'ntilde': chr(241), # small n, tilde
91 'ograve': chr(242), # small o, grave accent
92 'oacute': chr(243), # small o, acute accent
93 'ocirc': chr(244), # small o, circumflex accent
94 'otilde': chr(245), # small o, tilde
95 'ouml': chr(246), # small o, dieresis or umlaut mark
96 'divide': chr(247), # divide sign
97 'oslash': chr(248), # small o, slash
98 'ugrave': chr(249), # small u, grave accent
99 'uacute': chr(250), # small u, acute accent
100 'ucirc': chr(251), # small u, circumflex accent
101 'uuml': chr(252), # small u, dieresis or umlaut mark
102 'yacute': chr(253), # small y, acute accent
103 'thorn': chr(254), # small thorn, Icelandic
104 'yuml': chr(255), # small y, dieresis or umlaut mark
105}