|
| 1 | +-- Source: https://www.freeformatter.com/html-entities.html |
| 2 | +return { |
| 3 | + -- XML |
| 4 | + ["quot"] = '"', -- ' Apostrophe |
| 5 | + ["amp"] = "&", -- & Ampersand |
| 6 | + ["apos"] = "'", -- ' Apostrophe |
| 7 | + ["lt"] = "<", -- < Less-than |
| 8 | + ["gt"] = ">", -- > Greater than |
| 9 | + |
| 10 | + -- |
| 11 | + -- HTML |
| 12 | + -- |
| 13 | + |
| 14 | + -- ISO-8859-1 Characters |
| 15 | + ["Agrave"] = "À", -- À Capital a with grave accent |
| 16 | + ["Aacute"] = "Á", -- Á Capital a with acute accent |
| 17 | + ["Acirc"] = "Â", -- Â Capital a with circumflex accent |
| 18 | + ["Atilde"] = "Ã", -- Ã Capital a with tilde |
| 19 | + ["Auml"] = "Ä", -- Ä Capital a with umlaut |
| 20 | + ["Aring"] = "Å", -- Å Capital a with ring |
| 21 | + ["AElig"] = "Æ", -- Æ Capital ae |
| 22 | + ["Ccedil"] = "Ç", -- Ç Capital c with cedilla |
| 23 | + ["Egrave"] = "È", -- È Capital e with grave accent |
| 24 | + ["Eacute"] = "É", -- É Capital e with acute accent |
| 25 | + ["Ecirc"] = "Ê", -- Ê Capital e with circumflex accent |
| 26 | + ["Euml"] = "Ë", -- Ë Capital e with umlaut |
| 27 | + ["Igrave"] = "Ì", -- Ì Capital i with grave accent |
| 28 | + ["Iacute"] = "Í", -- Í Capital i with accute accent |
| 29 | + ["Icirc"] = "Î", -- Î Capital i with circumflex accent |
| 30 | + ["Iuml"] = "Ï", -- Ï Capital i with umlaut |
| 31 | + ["ETH"] = "Ð", -- Ð Capital eth (Icelandic) |
| 32 | + ["Ntilde"] = "Ñ", -- Ñ Capital n with tilde |
| 33 | + ["Ograve"] = "Ò", -- Ò Capital o with grave accent |
| 34 | + ["Oacute"] = "Ó", -- Ó Capital o with accute accent |
| 35 | + ["Ocirc"] = "Ô", -- Ô Capital o with circumflex accent |
| 36 | + ["Otilde"] = "Õ", -- Õ Capital o with tilde |
| 37 | + ["Ouml"] = "Ö", -- Ö Capital o with umlaut |
| 38 | + ["Oslash"] = "Ø", -- Ø Capital o with slash |
| 39 | + ["Ugrave"] = "Ù", -- Ù Capital u with grave accent |
| 40 | + ["Uacute"] = "Ú", -- Ú Capital u with acute accent |
| 41 | + ["Ucirc"] = "Û", -- Û Capital u with circumflex accent |
| 42 | + ["Uuml"] = "Ü", -- Ü Capital u with umlaut |
| 43 | + ["Yacute"] = "Ý", -- Ý Capital y with acute accent |
| 44 | + ["THORN"] = "Þ", -- Þ Capital thorn (Icelandic) |
| 45 | + ["szlig"] = "ß", -- ß Lowercase sharp s (German) |
| 46 | + ["agrave"] = "à", -- à Lowercase a with grave accent |
| 47 | + ["aacute"] = "á", -- á Lowercase a with acute accent |
| 48 | + ["acirc"] = "â", -- â Lowercase a with circumflex accent |
| 49 | + ["atilde"] = "ã", -- ã Lowercase a with tilde |
| 50 | + ["auml"] = "ä", -- ä Lowercase a with umlaut |
| 51 | + ["aring"] = "å", -- å Lowercase a with ring |
| 52 | + ["aelig"] = "æ", -- æ Lowercase ae |
| 53 | + ["ccedil"] = "ç", -- ç Lowercase c with cedilla |
| 54 | + ["egrave"] = "è", -- è Lowercase e with grave accent |
| 55 | + ["eacute"] = "é", -- é Lowercase e with acute accent |
| 56 | + ["ecirc"] = "ê", -- ê Lowercase e with circumflex accent |
| 57 | + ["euml"] = "ë", -- ë Lowercase e with umlaut |
| 58 | + ["igrave"] = "ì", -- ì Lowercase i with grave accent |
| 59 | + ["iacute"] = "í", -- í Lowercase i with acute accent |
| 60 | + ["icirc"] = "î", -- î Lowercase i with circumflex accent |
| 61 | + ["iuml"] = "ï", -- ï Lowercase i with umlaut |
| 62 | + ["eth"] = "ð", -- ð Lowercase eth (Icelandic) |
| 63 | + ["ntilde"] = "ñ", -- ñ Lowercase n with tilde |
| 64 | + ["ograve"] = "ò", -- ò Lowercase o with grave accent |
| 65 | + ["oacute"] = "ó", -- ó Lowercase o with acute accent |
| 66 | + ["ocirc"] = "ô", -- ô Lowercase o with circumflex accent |
| 67 | + ["otilde"] = "õ", -- õ Lowercase o with tilde |
| 68 | + ["ouml"] = "ö", -- ö Lowercase o with umlaut |
| 69 | + ["oslash"] = "ø", -- ø Lowercase o with slash |
| 70 | + ["ugrave"] = "ù", -- ù Lowercase u with grave accent |
| 71 | + ["uacute"] = "ú", -- ú Lowercase u with acute accent |
| 72 | + ["ucirc"] = "û", -- û Lowercase u with circumflex accent |
| 73 | + ["uuml"] = "ü", -- ü Lowercase u with umlaut |
| 74 | + ["yacute"] = "ý", -- ý Lowercase y with acute accent |
| 75 | + ["thorn"] = "þ", -- þ Lowercase thorn (Icelandic) |
| 76 | + ["yuml"] = "ÿ", -- ÿ Lowercase y with umlaut |
| 77 | + |
| 78 | + -- ISO-8859-1 Symbols |
| 79 | + ["nbsp"] = " ", --   Non-breaking space |
| 80 | + ["iexcl"] = "¡", -- ¡ Inverted exclamation mark |
| 81 | + ["cent"] = "¢", -- ¢ Cent |
| 82 | + ["pound"] = "£", -- £ Pound |
| 83 | + ["curren"] = "¤", -- ¤ Currency |
| 84 | + ["yen"] = "¥", -- ¥ Yen |
| 85 | + ["brvbar"] = "¦", -- ¦ Broken vertical bar |
| 86 | + ["sect"] = "§", -- § Section |
| 87 | + ["uml"] = "¨", -- ¨ Spacing diaeresis |
| 88 | + ["copy"] = "©", -- © Copyright |
| 89 | + ["ordf"] = "ª", -- ª Feminine ordinal indicator |
| 90 | + ["laquo"] = "«", -- « Opening/Left angle quotation mark |
| 91 | + ["not"] = "¬", -- ¬ Negation |
| 92 | + ["shy"] = "", -- ­ Soft hyphen |
| 93 | + ["reg"] = "®", -- ® Registered trademark |
| 94 | + ["macr"] = "¯", -- ¯ Spacing macron |
| 95 | + ["deg"] = "°", -- ° Degree |
| 96 | + ["plusmn"] = "±", -- ± Plus or minus |
| 97 | + ["sup2"] = "²", -- ² Superscript 2 |
| 98 | + ["sup3"] = "³", -- ³ Superscript 3 |
| 99 | + ["acute"] = "´", -- ´ Spacing acute |
| 100 | + ["micro"] = "µ", -- µ Micro |
| 101 | + ["para"] = "¶", -- ¶ Paragraph |
| 102 | + ["cedil"] = "¸", -- ¸ Spacing cedilla |
| 103 | + ["sup1"] = "¹", -- ¹ Superscript 1 |
| 104 | + ["ordm"] = "º", -- º Masculine ordinal indicator |
| 105 | + ["raquo"] = "»", -- » Closing/Right angle quotation mark |
| 106 | + ["frac14"] = "¼", -- ¼ Fraction 1/4 |
| 107 | + ["frac12"] = "½", -- ½ Fraction 1/2 |
| 108 | + ["frac34"] = "¾", -- ¾ Fraction 3/4 |
| 109 | + ["iquest"] = "¿", -- ¿ Inverted question mark |
| 110 | + ["times"] = "×", -- × Multiplication |
| 111 | + ["divide"] = "÷", -- ÷ Divide |
| 112 | + |
| 113 | + -- Math Symbols |
| 114 | + ["forall"] = "∀", -- ∀ For all |
| 115 | + ["part"] = "∂", -- ∂ Part |
| 116 | + ["exist"] = "∃", -- ∃ Exist |
| 117 | + ["empty"] = "∅", -- ∅ Empty |
| 118 | + ["nabla"] = "∇", -- ∇ Nabla |
| 119 | + ["isin"] = "∈", -- ∈ Is in |
| 120 | + ["notin"] = "∉", -- ∉ Not in |
| 121 | + ["ni"] = "∋", -- ∋ Ni |
| 122 | + ["prod"] = "∏", -- ∏ Product |
| 123 | + ["sum"] = "∑", -- ∑ Sum |
| 124 | + ["minus"] = "−", -- − Minus |
| 125 | + ["lowast"] = "∗", -- ∗ Asterisk (Lowast) |
| 126 | + ["radic"] = "√", -- √ Square root |
| 127 | + ["prop"] = "∝", -- ∝ Proportional to |
| 128 | + ["infin"] = "∞", -- ∞ Infinity |
| 129 | + ["ang"] = "∠", -- ∠ Angle |
| 130 | + ["and"] = "∧", -- ∧ And |
| 131 | + ["or"] = "∨", -- ∨ Or |
| 132 | + ["cap"] = "∩", -- ∩ Cap |
| 133 | + ["cup"] = "∪", -- ∪ Cup |
| 134 | + ["int"] = "∫", -- ∫ Integral |
| 135 | + ["there4"] = "∴", -- ∴ Therefore |
| 136 | + ["sim"] = "∼", -- ∼ Similar to |
| 137 | + ["cong"] = "≅", -- ≅ Congurent to |
| 138 | + ["asymp"] = "≈", -- ≈ Almost equal |
| 139 | + ["ne"] = "≠", -- ≠ Not equal |
| 140 | + ["equiv"] = "≡", -- ≡ Equivalent |
| 141 | + ["le"] = "≤", -- ≤ Less or equal |
| 142 | + ["ge"] = "≥", -- ≥ Greater or equal |
| 143 | + ["sub"] = "⊂", -- ⊂ Subset of |
| 144 | + ["sup"] = "⊃", -- ⊃ Superset of |
| 145 | + ["nsub"] = "⊄", -- ⊄ Not subset of |
| 146 | + ["sube"] = "⊆", -- ⊆ Subset or equal |
| 147 | + ["supe"] = "⊇", -- ⊇ Superset or equal |
| 148 | + ["oplus"] = "⊕", -- ⊕ Circled plus |
| 149 | + ["otimes"] = "⊗", -- ⊗ Circled times |
| 150 | + ["perp"] = "⊥", -- ⊥ Perpendicular |
| 151 | + ["sdot"] = "⋅", -- ⋅ Dot operator |
| 152 | + |
| 153 | + -- Greek Letters |
| 154 | + ["Alpha"] = "Α", -- Α Alpha |
| 155 | + ["Beta"] = "Β", -- Β Beta |
| 156 | + ["Gamma"] = "Γ", -- Γ Gamma |
| 157 | + ["Delta"] = "Δ", -- Δ Delta |
| 158 | + ["Epsilon"] = "Ε", -- Ε Epsilon |
| 159 | + ["Zeta"] = "Ζ", -- Ζ Zeta |
| 160 | + ["Eta"] = "Η", -- Η Eta |
| 161 | + ["Theta"] = "Θ", -- Θ Theta |
| 162 | + ["Iota"] = "Ι", -- Ι Iota |
| 163 | + ["Kappa"] = "Κ", -- Κ Kappa |
| 164 | + ["Lambda"] = "Λ", -- Λ Lambda |
| 165 | + ["Mu"] = "Μ", -- Μ Mu |
| 166 | + ["Nu"] = "Ν", -- Ν Nu |
| 167 | + ["Xi"] = "Ξ", -- Ξ Xi |
| 168 | + ["Omicron"] = "Ο", -- Ο Omicron |
| 169 | + ["Pi"] = "Π", -- Π Pi |
| 170 | + ["Rho"] = "Ρ", -- Ρ Rho |
| 171 | + ["Sigma"] = "Σ", -- Σ Sigma |
| 172 | + ["Tau"] = "Τ", -- Τ Tau |
| 173 | + ["Upsilon"] = "Υ", -- Υ Upsilon |
| 174 | + ["Phi"] = "Φ", -- Φ Phi |
| 175 | + ["Chi"] = "Χ", -- Χ Chi |
| 176 | + ["Psi"] = "Ψ", -- Ψ Psi |
| 177 | + ["Omega"] = "Ω", -- Ω Omega |
| 178 | + ["alpha"] = "α", -- α alpha |
| 179 | + ["beta"] = "β", -- β beta |
| 180 | + ["gamma"] = "γ", -- γ gamma |
| 181 | + ["delta"] = "δ", -- δ delta |
| 182 | + ["epsilon"] = "ε", -- ε epsilon |
| 183 | + ["zeta"] = "ζ", -- ζ zeta |
| 184 | + ["eta"] = "η", -- η eta |
| 185 | + ["theta"] = "θ", -- θ theta |
| 186 | + ["iota"] = "ι", -- ι iota |
| 187 | + ["kappa"] = "κ", -- κ kappa |
| 188 | + ["lambda"] = "λ", -- λ lambda |
| 189 | + ["mu"] = "μ", -- μ mu |
| 190 | + ["nu"] = "ν", -- ν nu |
| 191 | + ["xi"] = "ξ", -- ξ xi |
| 192 | + ["omicron"] = "ο", -- ο omicron |
| 193 | + ["pi"] = "π", -- π pi |
| 194 | + ["rho"] = "ρ", -- ρ rho |
| 195 | + ["sigmaf"] = "ς", -- ς sigmaf |
| 196 | + ["sigma"] = "σ", -- σ sigma |
| 197 | + ["tau"] = "τ", -- τ tau |
| 198 | + ["upsilon"] = "υ", -- υ upsilon |
| 199 | + ["phi"] = "φ", -- φ phi |
| 200 | + ["chi"] = "χ", -- χ chi |
| 201 | + ["psi"] = "ψ", -- ψ psi |
| 202 | + ["omega"] = "ω", -- ω omega |
| 203 | + ["thetasym"] = "ϑ", -- ϑ Theta symbol |
| 204 | + ["upsih"] = "ϒ", -- ϒ Upsilon symbol |
| 205 | + ["piv"] = "ϖ", -- ϖ Pi symbol |
| 206 | + |
| 207 | + -- Miscellaneous HTML entities |
| 208 | + ["OElig"] = "Œ", -- Œ Uppercase ligature OE |
| 209 | + ["oelig"] = "œ", -- œ Lowercase ligature OE |
| 210 | + ["Scaron"] = "Š", -- Š Uppercase S with caron |
| 211 | + ["scaron"] = "š", -- š Lowercase S with caron |
| 212 | + ["Yuml"] = "Ÿ", -- Ÿ Capital Y with diaeres |
| 213 | + ["fnof"] = "ƒ", -- ƒ Lowercase with hook |
| 214 | + ["circ"] = "ˆ", -- ˆ Circumflex accent |
| 215 | + ["tilde"] = "˜", -- ˜ Tilde |
| 216 | + ["ensp"] = " ", --   En space |
| 217 | + ["emsp"] = " ", --   Em space |
| 218 | + ["thinsp"] = " ", --   Thin space |
| 219 | + ["zwnj"] = "", -- ‌ Zero width non-joiner |
| 220 | + ["zwj"] = "", -- ‍ Zero width joiner |
| 221 | + ["lrm"] = "", -- ‎ Left-to-right mark |
| 222 | + ["rlm"] = "", -- ‏ Right-to-left mark |
| 223 | + ["ndash"] = "–", -- – En dash |
| 224 | + ["mdash"] = "—", -- — Em dash |
| 225 | + ["lsquo"] = "‘", -- ‘ Left single quotation mark |
| 226 | + ["rsquo"] = "’", -- ’ Right single quotation mark |
| 227 | + ["sbquo"] = "‚", -- ‚ Single low-9 quotation mark |
| 228 | + ["ldquo"] = "“", -- “ Left double quotation mark |
| 229 | + ["rdquo"] = "”", -- ” Right double quotation mark |
| 230 | + ["bdquo"] = "„", -- „ Double low-9 quotation mark |
| 231 | + ["dagger"] = "†", -- † Dagger |
| 232 | + ["Dagger"] = "‡", -- ‡ Double dagger |
| 233 | + ["bull"] = "•", -- • Bullet |
| 234 | + ["hellip"] = "…", -- … Horizontal ellipsis |
| 235 | + ["permil"] = "‰", -- ‰ Per mille |
| 236 | + ["prime"] = "′", -- ′ Minutes (Degrees) |
| 237 | + ["Prime"] = "″", -- ″ Seconds (Degrees) |
| 238 | + ["lsaquo"] = "‹", -- ‹ Single left angle quotation |
| 239 | + ["rsaquo"] = "›", -- › Single right angle quotation |
| 240 | + ["oline"] = "‾", -- ‾ Overline |
| 241 | + ["euro"] = "€", -- € Euro |
| 242 | + ["trade"] = "™", -- ™ Trademark |
| 243 | + ["larr"] = "←", -- ← Left arrow |
| 244 | + ["uarr"] = "↑", -- ↑ Up arrow |
| 245 | + ["rarr"] = "→", -- → Right arrow |
| 246 | + ["darr"] = "↓", -- ↓ Down arrow |
| 247 | + ["harr"] = "↔", -- ↔ Left right arrow |
| 248 | + ["crarr"] = "↵", -- ↵ Carriage return arrow |
| 249 | + ["lceil"] = "⌈", -- ⌈ Left ceiling |
| 250 | + ["rceil"] = "⌉", -- ⌉ Right ceiling |
| 251 | + ["lfloor"] = "⌊", -- ⌊ Left floor |
| 252 | + ["rfloor"] = "⌋", -- ⌋ Right floor |
| 253 | + ["loz"] = "◊", -- ◊ Lozenge |
| 254 | + ["spades"] = "♠", -- ♠ Spade |
| 255 | + ["clubs"] = "♣", -- ♣ Club |
| 256 | + ["hearts"] = "♥", -- ♥ Heart |
| 257 | + ["diams"] = "♦", -- ♦ Diamond |
| 258 | +} |
0 commit comments