anchor.diff:  				if(i == href_list["select_category"])
   					gear_tab = i
   		if(href_list["toggle_gear_path"])
  -			var/datum/gear/G = GLOB.loadout_items[gear_tab][href_list["toggle_gear_path"]]
  +			var/datum/gear/G = GLOB.loadout_items[gear_tab][html_decode(href_list["toggle_gear_path"])]
   			if(!G)
   				return
   			var/toggle = text2num(href_list["toggle_gear"])
  
positive.code: 			var/donoritem
  			if(gear.ckeywhitelist && gear.ckeywhitelist.len)
  				donoritem = TRUE
  				if(user && !(user.ckey in gear.ckeywhitelist))
  					continue
  			var/class_link = ""
  			if(gear.type in chosen_gear)
  
negative.code: 				if(!is_loadout_slot_available(G.category))
  					to_chat(user, "<span class='danger'>You cannot take this loadout, as you've already chosen too many of the same category!</span>")
  					return
  				if(G.ckeywhitelist && G.ckeywhitelist.len && !(user.ckey in G.ckeywhitelist))
  					to_chat(user, "<span class='danger'>This is an item intended for donator use only. You are not authorized to use this item.</span>")
  					return
  				if(gear_points >= initial(G.cost))
  					LAZYADD(chosen_gear, G.type)
  					gear_points -= initial(G.cost)
  
  /datum/preferences/proc/citadel_dat_replace(current_tab)
  	var/mob/user
  