if(grab_entity(s,pos,"lt")) return std::string("<"); return std::string("&");
if(s == "quot") return string("\""); else if(s == "lt") return string("<"); else if(s == "gt") return string(">");  return s.substr(old_pos, entity_name_len+2);
static	std::string	entity_decode(std::string &s,std::size_t &pos){	// This is ugly and slow	++pos;	// Advance past amp	if(grab_entity(s,pos,"amp"))		return std::string("&");	else	if(grab_entity(s,pos,"gt"))		return std::string(">");	else	if(grab_entity(s,pos,"lt"))		return std::string("<");	return std::string("&");}