_constants.py 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. # -*- coding: utf-8 -*-
  2. """
  3. markupsafe._constants
  4. ~~~~~~~~~~~~~~~~~~~~~
  5. :copyright: © 2010 by the Pallets team.
  6. :license: BSD, see LICENSE for more details.
  7. """
  8. HTML_ENTITIES = {
  9. "AElig": 198,
  10. "Aacute": 193,
  11. "Acirc": 194,
  12. "Agrave": 192,
  13. "Alpha": 913,
  14. "Aring": 197,
  15. "Atilde": 195,
  16. "Auml": 196,
  17. "Beta": 914,
  18. "Ccedil": 199,
  19. "Chi": 935,
  20. "Dagger": 8225,
  21. "Delta": 916,
  22. "ETH": 208,
  23. "Eacute": 201,
  24. "Ecirc": 202,
  25. "Egrave": 200,
  26. "Epsilon": 917,
  27. "Eta": 919,
  28. "Euml": 203,
  29. "Gamma": 915,
  30. "Iacute": 205,
  31. "Icirc": 206,
  32. "Igrave": 204,
  33. "Iota": 921,
  34. "Iuml": 207,
  35. "Kappa": 922,
  36. "Lambda": 923,
  37. "Mu": 924,
  38. "Ntilde": 209,
  39. "Nu": 925,
  40. "OElig": 338,
  41. "Oacute": 211,
  42. "Ocirc": 212,
  43. "Ograve": 210,
  44. "Omega": 937,
  45. "Omicron": 927,
  46. "Oslash": 216,
  47. "Otilde": 213,
  48. "Ouml": 214,
  49. "Phi": 934,
  50. "Pi": 928,
  51. "Prime": 8243,
  52. "Psi": 936,
  53. "Rho": 929,
  54. "Scaron": 352,
  55. "Sigma": 931,
  56. "THORN": 222,
  57. "Tau": 932,
  58. "Theta": 920,
  59. "Uacute": 218,
  60. "Ucirc": 219,
  61. "Ugrave": 217,
  62. "Upsilon": 933,
  63. "Uuml": 220,
  64. "Xi": 926,
  65. "Yacute": 221,
  66. "Yuml": 376,
  67. "Zeta": 918,
  68. "aacute": 225,
  69. "acirc": 226,
  70. "acute": 180,
  71. "aelig": 230,
  72. "agrave": 224,
  73. "alefsym": 8501,
  74. "alpha": 945,
  75. "amp": 38,
  76. "and": 8743,
  77. "ang": 8736,
  78. "apos": 39,
  79. "aring": 229,
  80. "asymp": 8776,
  81. "atilde": 227,
  82. "auml": 228,
  83. "bdquo": 8222,
  84. "beta": 946,
  85. "brvbar": 166,
  86. "bull": 8226,
  87. "cap": 8745,
  88. "ccedil": 231,
  89. "cedil": 184,
  90. "cent": 162,
  91. "chi": 967,
  92. "circ": 710,
  93. "clubs": 9827,
  94. "cong": 8773,
  95. "copy": 169,
  96. "crarr": 8629,
  97. "cup": 8746,
  98. "curren": 164,
  99. "dArr": 8659,
  100. "dagger": 8224,
  101. "darr": 8595,
  102. "deg": 176,
  103. "delta": 948,
  104. "diams": 9830,
  105. "divide": 247,
  106. "eacute": 233,
  107. "ecirc": 234,
  108. "egrave": 232,
  109. "empty": 8709,
  110. "emsp": 8195,
  111. "ensp": 8194,
  112. "epsilon": 949,
  113. "equiv": 8801,
  114. "eta": 951,
  115. "eth": 240,
  116. "euml": 235,
  117. "euro": 8364,
  118. "exist": 8707,
  119. "fnof": 402,
  120. "forall": 8704,
  121. "frac12": 189,
  122. "frac14": 188,
  123. "frac34": 190,
  124. "frasl": 8260,
  125. "gamma": 947,
  126. "ge": 8805,
  127. "gt": 62,
  128. "hArr": 8660,
  129. "harr": 8596,
  130. "hearts": 9829,
  131. "hellip": 8230,
  132. "iacute": 237,
  133. "icirc": 238,
  134. "iexcl": 161,
  135. "igrave": 236,
  136. "image": 8465,
  137. "infin": 8734,
  138. "int": 8747,
  139. "iota": 953,
  140. "iquest": 191,
  141. "isin": 8712,
  142. "iuml": 239,
  143. "kappa": 954,
  144. "lArr": 8656,
  145. "lambda": 955,
  146. "lang": 9001,
  147. "laquo": 171,
  148. "larr": 8592,
  149. "lceil": 8968,
  150. "ldquo": 8220,
  151. "le": 8804,
  152. "lfloor": 8970,
  153. "lowast": 8727,
  154. "loz": 9674,
  155. "lrm": 8206,
  156. "lsaquo": 8249,
  157. "lsquo": 8216,
  158. "lt": 60,
  159. "macr": 175,
  160. "mdash": 8212,
  161. "micro": 181,
  162. "middot": 183,
  163. "minus": 8722,
  164. "mu": 956,
  165. "nabla": 8711,
  166. "nbsp": 160,
  167. "ndash": 8211,
  168. "ne": 8800,
  169. "ni": 8715,
  170. "not": 172,
  171. "notin": 8713,
  172. "nsub": 8836,
  173. "ntilde": 241,
  174. "nu": 957,
  175. "oacute": 243,
  176. "ocirc": 244,
  177. "oelig": 339,
  178. "ograve": 242,
  179. "oline": 8254,
  180. "omega": 969,
  181. "omicron": 959,
  182. "oplus": 8853,
  183. "or": 8744,
  184. "ordf": 170,
  185. "ordm": 186,
  186. "oslash": 248,
  187. "otilde": 245,
  188. "otimes": 8855,
  189. "ouml": 246,
  190. "para": 182,
  191. "part": 8706,
  192. "permil": 8240,
  193. "perp": 8869,
  194. "phi": 966,
  195. "pi": 960,
  196. "piv": 982,
  197. "plusmn": 177,
  198. "pound": 163,
  199. "prime": 8242,
  200. "prod": 8719,
  201. "prop": 8733,
  202. "psi": 968,
  203. "quot": 34,
  204. "rArr": 8658,
  205. "radic": 8730,
  206. "rang": 9002,
  207. "raquo": 187,
  208. "rarr": 8594,
  209. "rceil": 8969,
  210. "rdquo": 8221,
  211. "real": 8476,
  212. "reg": 174,
  213. "rfloor": 8971,
  214. "rho": 961,
  215. "rlm": 8207,
  216. "rsaquo": 8250,
  217. "rsquo": 8217,
  218. "sbquo": 8218,
  219. "scaron": 353,
  220. "sdot": 8901,
  221. "sect": 167,
  222. "shy": 173,
  223. "sigma": 963,
  224. "sigmaf": 962,
  225. "sim": 8764,
  226. "spades": 9824,
  227. "sub": 8834,
  228. "sube": 8838,
  229. "sum": 8721,
  230. "sup": 8835,
  231. "sup1": 185,
  232. "sup2": 178,
  233. "sup3": 179,
  234. "supe": 8839,
  235. "szlig": 223,
  236. "tau": 964,
  237. "there4": 8756,
  238. "theta": 952,
  239. "thetasym": 977,
  240. "thinsp": 8201,
  241. "thorn": 254,
  242. "tilde": 732,
  243. "times": 215,
  244. "trade": 8482,
  245. "uArr": 8657,
  246. "uacute": 250,
  247. "uarr": 8593,
  248. "ucirc": 251,
  249. "ugrave": 249,
  250. "uml": 168,
  251. "upsih": 978,
  252. "upsilon": 965,
  253. "uuml": 252,
  254. "weierp": 8472,
  255. "xi": 958,
  256. "yacute": 253,
  257. "yen": 165,
  258. "yuml": 255,
  259. "zeta": 950,
  260. "zwj": 8205,
  261. "zwnj": 8204,
  262. }