1   
  2   
  3   
  4   
  5   
  6   
  7   
  8   
  9   
 10   
 11   
 12   
 13   
 14   
 15   
 16   
 17   
 18   
 19   
 20  r"""List of HTML entity names. 
 21   
 22  This is used to warn if these are used as parameter names.  Using them as 
 23  parameter names will lead to problems if URLs containing the parameters are 
 24  incorrectly escaped. 
 25   
 26  """ 
 27  __docformat__ = "restructuredtext en" 
 28   
 29   
 30   
 31  entities = set(( 
 32                 'nbsp', 
 33                 'iexcl', 
 34                 'cent', 
 35                 'pound', 
 36                 'curren', 
 37                 'yen', 
 38                 'brvbar', 
 39                 'sect', 
 40                 'uml', 
 41                 'copy', 
 42                 'ordf', 
 43                 'laquo', 
 44                 'not', 
 45                 'shy', 
 46                 'reg', 
 47                 'macr', 
 48                 'deg', 
 49                 'plusmn', 
 50                 'sup2', 
 51                 'sup3', 
 52                 'acute', 
 53                 'micro', 
 54                 'para', 
 55                 'middot', 
 56                 'cedil', 
 57                 'sup1', 
 58                 'ordm', 
 59                 'raquo', 
 60                 'frac14', 
 61                 'frac12', 
 62                 'frac34', 
 63                 'iquest', 
 64                 'Agrave', 
 65                 'Aacute', 
 66                 'Acirc', 
 67                 'Atilde', 
 68                 'Auml', 
 69                 'Aring', 
 70                 'AElig', 
 71                 'Ccedil', 
 72                 'Egrave', 
 73                 'Eacute', 
 74                 'Ecirc', 
 75                 'Euml', 
 76                 'Igrave', 
 77                 'Iacute', 
 78                 'Icirc', 
 79                 'Iuml', 
 80                 'ETH', 
 81                 'Ntilde', 
 82                 'Ograve', 
 83                 'Oacute', 
 84                 'Ocirc', 
 85                 'Otilde', 
 86                 'Ouml', 
 87                 'times', 
 88                 'Oslash', 
 89                 'Ugrave', 
 90                 'Uacute', 
 91                 'Ucirc', 
 92                 'Uuml', 
 93                 'Yacute', 
 94                 'THORN', 
 95                 'szlig', 
 96                 'agrave', 
 97                 'aacute', 
 98                 'acirc', 
 99                 'atilde', 
100                 'auml', 
101                 'aring', 
102                 'aelig', 
103                 'ccedil', 
104                 'egrave', 
105                 'eacute', 
106                 'ecirc', 
107                 'euml', 
108                 'igrave', 
109                 'iacute', 
110                 'icirc', 
111                 'iuml', 
112                 'eth', 
113                 'ntilde', 
114                 'ograve', 
115                 'oacute', 
116                 'ocirc', 
117                 'otilde', 
118                 'ouml', 
119                 'divide', 
120                 'oslash', 
121                 'ugrave', 
122                 'uacute', 
123                 'ucirc', 
124                 'uuml', 
125                 'yacute', 
126                 'thorn', 
127                 'yuml', 
128                 'fnof', 
129                 'Alpha', 
130                 'Beta', 
131                 'Gamma', 
132                 'Delta', 
133                 'Epsilon', 
134                 'Zeta', 
135                 'Eta', 
136                 'Theta', 
137                 'Iota', 
138                 'Kappa', 
139                 'Lambda', 
140                 'Mu', 
141                 'Nu', 
142                 'Xi', 
143                 'Omicron', 
144                 'Pi', 
145                 'Rho', 
146                 'Sigma', 
147                 'Tau', 
148                 'Upsilon', 
149                 'Phi', 
150                 'Chi', 
151                 'Psi', 
152                 'Omega', 
153                 'alpha', 
154                 'beta', 
155                 'gamma', 
156                 'delta', 
157                 'epsilon', 
158                 'zeta', 
159                 'eta', 
160                 'theta', 
161                 'iota', 
162                 'kappa', 
163                 'lambda', 
164                 'mu', 
165                 'nu', 
166                 'xi', 
167                 'omicron', 
168                 'pi', 
169                 'rho', 
170                 'sigmaf', 
171                 'sigma', 
172                 'tau', 
173                 'upsilon', 
174                 'phi', 
175                 'chi', 
176                 'psi', 
177                 'omega', 
178                 'thetasym', 
179                 'upsih', 
180                 'piv', 
181                 'bull', 
182                 'hellip', 
183                 'prime', 
184                 'Prime', 
185                 'oline', 
186                 'frasl', 
187                 'weierp', 
188                 'image', 
189                 'real', 
190                 'trade', 
191                 'alefsym', 
192                 'larr', 
193                 'uarr', 
194                 'rarr', 
195                 'darr', 
196                 'harr', 
197                 'crarr', 
198                 'lArr', 
199                 'uArr', 
200                 'rArr', 
201                 'dArr', 
202                 'hArr', 
203                 'forall', 
204                 'part', 
205                 'exist', 
206                 'empty', 
207                 'nabla', 
208                 'isin', 
209                 'notin', 
210                 'ni', 
211                 'prod', 
212                 'sum', 
213                 'minus', 
214                 'lowast', 
215                 'radic', 
216                 'prop', 
217                 'infin', 
218                 'ang', 
219                 'and', 
220                 'or', 
221                 'cap', 
222                 'cup', 
223                 'int', 
224                 'there4', 
225                 'sim', 
226                 'cong', 
227                 'asymp', 
228                 'ne', 
229                 'equiv', 
230                 'le', 
231                 'ge', 
232                 'sub', 
233                 'sup', 
234                 'nsup', 
235                 'nsub', 
236                 'sube', 
237                 'supe', 
238                 'oplus', 
239                 'otimes', 
240                 'perp', 
241                 'sdot', 
242                 'lceil', 
243                 'rceil', 
244                 'lfloor', 
245                 'rfloor', 
246                 'lang', 
247                 'rang', 
248                 'loz', 
249                 'spades', 
250                 'clubs', 
251                 'hearts', 
252                 'diams', 
253                 'quot', 
254                 'amp', 
255                 'lt', 
256                 'gt', 
257                 'OElig', 
258                 'oelig', 
259                 'Scaron', 
260                 'scaron', 
261                 'Yuml', 
262                 'circ', 
263                 'tilde', 
264                 'ensp', 
265                 'emsp', 
266                 'thinsp', 
267                 'zwnj', 
268                 'zwj', 
269                 'lrm', 
270                 'rlm', 
271                 'ndash', 
272                 'mdash', 
273                 'lsquo', 
274                 'rsquo', 
275                 'sbquo', 
276                 'ldquo', 
277                 'rdquo', 
278                 'bdquo', 
279                 'dagger', 
280                 'Dagger', 
281                 'permil', 
282                 'lsaquo', 
283                 'rsaquo', 
284                 'euro', 
285  )) 
286   
287   
288