JSFiddle - React, Tailwind, and code Playground

JavaScript

var decodeHtmlEntries = (function (){
	var temp = {
		"amp" : "&",
		"gt" : ">",
		"lt" : "<",
		"quot" : "\"",
		"apos" : "'",
		"AElig" : 198,
		"Aacute" : 193,
		"Acirc" : 194,
		"Agrave" : 192,
		"Aring" : 197,
		"Atilde" : 195,
		"Auml" : 196,
		"Ccedil" : 199,
		"ETH" : 208,
		"Eacute" : 201,
		"Ecirc" : 202,
		"Egrave" : 200,
		"Euml" : 203,
		"Iacute" : 205,
		"Icirc" : 206,
		"Igrave" : 204,
		"Iuml" : 207,
		"Ntilde" : 209,
		"Oacute" : 211,
		"Ocirc" : 212,
		"Ograve" : 210,
		"Oslash" : 216,
		"Otilde" : 213,
		"Ouml" : 214,
		"THORN" : 222,
		"Uacute" : 218,
		"Ucirc" : 219,
		"Ugrave" : 217,
		"Uuml" : 220,
		"Yacute" : 221,
		"aacute" : 225,
		"acirc" : 226,
		"aelig" : 230,
		"agrave" : 224,
		"aring" : 229,
		"atilde" : 227,
		"auml" : 228,
		"ccedil" : 231,
		"eacute" : 233,
		"ecirc" : 234,
		"egrave" : 232,
		"eth" : 240,
		"euml" : 235,
		"iacute" : 237,
		"icirc" : 238,
		"igrave" : 236,
		"iuml" : 239,
		"ntilde" : 241,
		"oacute" : 243,
		"ocirc" : 244,
		"ograve" : 242,
		"oslash" : 248,
		"otilde" : 245,
		"ouml" : 246,
		"szlig" : 223,
		"thorn" : 254,
		"uacute" : 250,
		"ucirc" : 251,
		"ugrave" : 249,
		"uuml" : 252,
		"yacute" : 253,
		"yuml" : 255,
		"copy" : 169,
		"reg" : 174,
		"nbsp" : 160,
		"iexcl" : 161,
		"cent" : 162,
		"pound" : 163,
		"curren" : 164,
		"yen" : 165,
		"brvbar" : 166,
		"sect" : 167,
		"uml" : 168,
		"ordf" : 170,
		"laquo" : 171,
		"not" : 172,
		"shy" : 173,
		"macr" : 175,
		"deg" : 176,
		"plusmn" : 177,
		"sup1" : 185,
		"sup2" : 178,
		"sup3" : 179,
		"acute" : 180,
		"micro" : 181,
		"para" : 182,
		"middot" : 183,
		"cedil" : 184,
		"ordm" : 186,
		"raquo" : 187,
		"frac14" : 188,
		"frac12" : 189,
		"frac34" : 190,
		"iquest" : 191,
		"times" : 215,
		"divide" : 247,
		"OElig;" : 338,
		"oelig;" : 339,
		"Scaron;" : 352,
		"scaron;" : 353,
		"Yuml;" : 376,
		"fnof;" : 402,
		"circ;" : 710,
		"tilde;" : 732,
		"Alpha;" : 913,
		"Beta;" : 914,
		"Gamma;" : 915,
		"Delta;" : 916,
		"Epsilon;" :...