Editing a variable now logs the old value (#32478)
Editing a variable now logs the old value (#32478)

* Editing a variable now logs the old value

* Moves the html_encode to log_admin

riftstation/riftstation,Xhuis/tgfork,PKPenguin321/-tg-station,Tacolizard/tgstation,Mark9013100/tgstation-m9,Xhuis/tgfork,TehZombehz/-tg-station,TheRealGLH/-tg-station,Buggy123/-tg-station,GuyonBroadway/HippieStation,HippieStation/HippieStation,Memendia/HippieStation,JStheguy/tgstation,Jordie0608/tgstation,WJohn/-tg-station,Shadowlight213/-tg-station,WJohn/-tg-station,lordpidey/-tg-station,xxalpha/-tg-station,Aranclanos/-tg-station,lzimann/tgstation,lzimann/-tg-station,Razharas/-tg-station,securitycopper/-tg-station,xxalpha/-tg-station,riftstation/riftstation,TalkingCactus/tgstation,kingofkosmos/-tg-station,Robustin/tgstation,Memendia/HippieStation,CosmicScientist/-tg-station,Xhuis/-tg-station,Shadowlight213/-tg-station,WJohn/-tg-station,MicroWorldwide/SS13-TG-station,lordpidey/-tg-station,nicbn/tgstation,lordpidey/-tg-station,AnturK/-tg-station,QualityVan/tgstation,Thunder12345/-tg-station,MrStonedOne/tgstation,McBawbaggings/HippieStation,F-OS/tgstation,Buggy123/-tg-station,SamuelRowe/-tg-station,tgstation/tgstation,Cruix/-tg-station,Aranclanos/-tg-station,SamuelRowe/-tg-station,kingofkosmos/-tg-station,XDTM/tgstation,McBawbaggings/HippieStation,Fox-McCloud/-tg-station,Incoming5643/-tg-station,securitycopper/-tg-station,Anonus/-tg-station,securitycopper/-tg-station,octareenroon91/-tg-station,Xhuis/-tg-station,GuyonBroadway/HippieStation,Incoming5643/-tg-station,JJRcop/tgstation,Poojawa/tgstation-fork,feemjmeem/-tg-station,feemjmeem/-tg-station,neersighted/tgstation,Robustin/tgstation,coiax/-tg-station,Arianya/tgstation,CosmicScientist/-tg-station,NicholasM10/-tg-station,TheVekter/-tg-station,kevinz000/-tg-station,infinitystation/-tg-station,Thunder12345/-tg-station,CosmicScientist/-tg-station,CPTANT/-tg-station,feemjmeem/-tg-station,WJohn/-tg-station,ohnopigeons/tgstation,Profakos/tgstation,Iamgoofball/-tg-station,Poojawa/tgstation-fork,Fox-McCloud/-tg-station,CPTANT/-tg-station,riftstation/riftstation,nicbn/tgstation,JJRcop/-tg-station,ChangelingRain/-tg-station,Robustin/tgstation,4dplanner/tgstation,erwgd/-tg-station,TehZombehz/-tg-station,Anonus/-tg-station,Shadowlight213/-tg-station,WJohn/-tg-station,lzimann/-tg-station,Cyberboss/tgstation,JJRcop/tgstation,Memendia/HippieStation,xxalpha/-tg-station,McBawbaggings/HippieStation,feemjmeem/-tg-station,coiax/-tg-station,ShizCalev/tgstation,TheRealGLH/-tg-station,JStheguy/tgstation,TheVekter/-tg-station,GuyonBroadway/HippieStation,MicroWorldwide/SS13-TG-station,MrStonedOne/tgstation,F-OS/tgstation,TehZombehz/-tg-station,kingofkosmos/-tg-station,infinitystation/-tg-station,xxalpha/-tg-station,4dplanner/tgstation,octareenroon91/-tg-station,coiax/-tg-station,anconfuzedrock/tgstation,Jordie0608/tgstation,Fox-McCloud/-tg-station,lzimann/tgstation,Xhuis/tgfork,kingofkosmos/-tg-station,XDTM/tgstation,OBA-code/tgstation,Jordie0608/-tg-station,infinitystation/-tg-station,nicbn/tgstation,optimumtact/-tg-station,Bawhoppen/-tg-station,F-OS/tgstation,Memendia/HippieStation,Cyberboss/tgstation,Xhuis/tgfork,feemjmeem/-tg-station,neersighted/tgstation,Memendia/HippieStation,Tacolizard/tgstation,coiax/-tg-station,Tacolizard/tgstation,XDTM/tgstation,Aranclanos/-tg-station,xxalpha/-tg-station,riftstation/riftstation,Iamgoofball/-tg-station,Razharas/-tg-station,Aranclanos/-tg-station,JJRcop/-tg-station,tgstation/-tg-station,Bawhoppen/-tg-station,feemjmeem/-tg-station,MicroWorldwide/SS13-TG-station,lordpidey/-tg-station,Thunder12345/-tg-station,coiax/-tg-station,ShizCalev/tgstation,GunHog/-tg-station,Razharas/-tg-station,octareenroon91/-tg-station,NicholasM10/-tg-station,Razharas/-tg-station,NicholasM10/-tg-station,Thunder12345/-tg-station,JStheguy/tgstation,optimumtact/-tg-station,Xhuis/tgfork,Fox-McCloud/-tg-station,ChangelingRain/-tg-station,lordpidey/-tg-station,MrStonedOne/tgstation,xxalpha/-tg-station,Profakos/tgstation,CPTANT/-tg-station,lordpidey/-tg-station,Bawhoppen/-tg-station,HippieStation/HippieStation,Y0SH1M4S73R/-tg-station,Iamgoofball/-tg-station,infinitystation/-tg-station,XDTM/tgstation,F-OS/tgstation,infinitystation/-tg-station,CosmicScientist/-tg-station,Profakos/tgstation,paprka/-tg-station,duncathan/-tg-station,optimumtact/-tg-station,JStheguy/tgstation,TehZombehz/-tg-station,optimumtact/-tg-station,anconfuzedrock/tgstation,QualityVan/tgstation,lordpidey/-tg-station,Memendia/HippieStation,riftstation/riftstation,JStheguy/tgstation,CPTANT/-tg-station,OBA-code/tgstation,TheVekter/-tg-station,HippieStation/HippieStation,paprka/-tg-station,anconfuzedrock/tgstation,Jordie0608/tgstation,duncathan/-tg-station,OBA-code/tgstation,PKPenguin321/-tg-station,Cyberboss/tgstation,WJohn/-tg-station,ShizCalev/tgstation,Xhuis/-tg-station,Y0SH1M4S73R/-tg-station,Memendia/HippieStation,Profakos/tgstation,infinitystation/-tg-station,NicholasM10/-tg-station,Mark9013100/tgstation-m9,CPTANT/-tg-station,GuyonBroadway/HippieStation,TheVekter/-tg-station,ohnopigeons/tgstation,anconfuzedrock/tgstation,anconfuzedrock/tgstation,HippieStation/HippieStation,Anonus/-tg-station,optimumtact/-tg-station,McBawbaggings/HippieStation,MicroWorldwide/SS13-TG-station,NicholasM10/-tg-station,Tacolizard/tgstation,TehZombehz/-tg-station,loqoman/tgstation,4dplanner/tgstation,JJRcop/tgstation,tgstation/tgstation,MrStonedOne/tgstation,QualityVan/tgstation,kevinz000/-tg-station,JJRcop/tgstation,ShizCalev/tgstation,Fox-McCloud/-tg-station,Razharas/-tg-station,Mark9013100/tgstation-m9,Y0SH1M4S73R/-tg-station,GuyonBroadway/HippieStation,PKPenguin321/-tg-station,PKPenguin321/-tg-station,Niknakflak/-tg-station,MrStonedOne/tgstation,securitycopper/-tg-station,PKPenguin321/-tg-station,GunHog/-tg-station,Profakos/tgstation,CosmicScientist/-tg-station,Aranclanos/-tg-station,nicbn/tgstation,MrStonedOne/tgstation,Robustin/tgstation,tgstation/-tg-station,QualityVan/tgstation,riftstation/riftstation,paprka/-tg-station,Tacolizard/tgstation,Xhuis/tgfork,TalkingCactus/tgstation,Mark9013100/tgstation-m9,F-OS/tgstation,infinitystation/-tg-station,TehZombehz/-tg-station,GunHog/-tg-station,Cyberboss/tgstation,lzimann/tgstation,Tacolizard/tgstation,Shadowlight213/-tg-station,lordpidey/-tg-station,4dplanner/tgstation,Bawhoppen/-tg-station,ohnopigeons/tgstation,Thunder12345/-tg-station,ShizCalev/tgstation,Poojawa/tgstation-fork,Tacolizard/tgstation,PKPenguin321/-tg-station,Shadowlight213/-tg-station,ChangelingRain/-tg-station,Cruix/-tg-station,Poojawa/tgstation-fork,4dplanner/tgstation,Jordie0608/-tg-station,Incoming5643/-tg-station,CosmicScientist/-tg-station,loqoman/tgstation,Arianya/tgstation,TheRealGLH/-tg-station,Arianya/tgstation,tgstation/tgstation,TheVekter/-tg-station,Profakos/tgstation,Robustin/tgstation,kingofkosmos/-tg-station,Xhuis/tgfork,Aranclanos/-tg-station,Incoming5643/-tg-station,Arianya/tgstation,Bawhoppen/-tg-station,Jordie0608/-tg-station,NicholasM10/-tg-station,JJRcop/tgstation,Thunder12345/-tg-station,PKPenguin321/-tg-station,GuyonBroadway/HippieStation,Y0SH1M4S73R/-tg-station,Buggy123/-tg-station,F-OS/tgstation,Memendia/HippieStation,tgstation/tgstation,tgstation/tgstation,tgstation/-tg-station,Y0SH1M4S73R/-tg-station,Mark9013100/tgstation-m9,Shadowlight213/-tg-station,JJRcop/-tg-station,CPTANT/-tg-station,AnturK/-tg-station,Buggy123/-tg-station,Aranclanos/-tg-station,Tacolizard/tgstation,OBA-code/tgstation,Cruix/-tg-station,ShizCalev/tgstation,Poojawa/tgstation-fork,lzimann/-tg-station,kingofkosmos/-tg-station,HippieStation/HippieStation,coiax/-tg-station,tgstation/tgstation,AnturK/-tg-station,neersighted/tgstation,ChangelingRain/-tg-station,MicroWorldwide/SS13-TG-station,Niknakflak/-tg-station,octareenroon91/-tg-station,loqoman/tgstation,CPTANT/-tg-station,Niknakflak/-tg-station,loqoman/tgstation,optimumtact/-tg-station,Arianya/tgstation,XDTM/tgstation,paprka/-tg-station,F-OS/tgstation,GuyonBroadway/HippieStation,Y0SH1M4S73R/-tg-station,paprka/-tg-station,paprka/-tg-station,ShizCalev/tgstation,Robustin/tgstation,JJRcop/tgstation,Niknakflak/-tg-station,ToGWtF/yogstation,JStheguy/tgstation,Mark9013100/tgstation-m9,kevinz000/-tg-station,Incoming5643/-tg-station,4dplanner/tgstation,duncathan/-tg-station,SamuelRowe/-tg-station,MrStonedOne/tgstation,McBawbaggings/HippieStation,ChangelingRain/-tg-station,neersighted/tgstation,duncathan/-tg-station,JStheguy/tgstation,Xhuis/-tg-station,loqoman/tgstation,erwgd/-tg-station,SamuelRowe/-tg-station,kevinz000/-tg-station,Y0SH1M4S73R/-tg-station,securitycopper/-tg-station,TalkingCactus/tgstation,CPTANT/-tg-station,loqoman/tgstation,neersighted/tgstation,ToGWtF/yogstation,kevinz000/-tg-station,xxalpha/-tg-station,Jordie0608/-tg-station,GunHog/-tg-station,Xhuis/tgfork,anconfuzedrock/tgstation,Jordie0608/tgstation,TheVekter/-tg-station,Robustin/tgstation,ShizCalev/tgstation,Buggy123/-tg-station,CosmicScientist/-tg-station,AnturK/-tg-station,Arianya/tgstation,QualityVan/tgstation,feemjmeem/-tg-station,MicroWorldwide/SS13-TG-station,Bawhoppen/-tg-station,F-OS/tgstation,ChangelingRain/-tg-station,WJohn/-tg-station,tgstation/tgstation,GuyonBroadway/HippieStation,Cruix/-tg-station,QualityVan/tgstation,anconfuzedrock/tgstation,Razharas/-tg-station,Cruix/-tg-station,riftstation/riftstation,coiax/-tg-station,McBawbaggings/HippieStation,Poojawa/tgstation-fork,MicroWorldwide/SS13-TG-station,TheVekter/-tg-station,TehZombehz/-tg-station,Jordie0608/tgstation,kevinz000/-tg-station,Cruix/-tg-station,HippieStation/HippieStation,TalkingCactus/tgstation,Aranclanos/-tg-station,kingofkosmos/-tg-station,McBawbaggings/HippieStation,MicroWorldwide/SS13-TG-station,Buggy123/-tg-station,Shadowlight213/-tg-station,4dplanner/tgstation,QualityVan/tgstation,nicbn/tgstation,Incoming5643/-tg-station,loqoman/tgstation,Niknakflak/-tg-station,MrStonedOne/tgstation,ChangelingRain/-tg-station,Jordie0608/tgstation,riftstation/riftstation,xxalpha/-tg-station,Robustin/tgstation,McBawbaggings/HippieStation,Jordie0608/tgstation,HippieStation/HippieStation,Poojawa/tgstation-fork,lzimann/-tg-station,GunHog/-tg-station,neersighted/tgstation,AnturK/-tg-station,kevinz000/-tg-station,Arianya/tgstation,Cruix/-tg-station,neersighted/tgstation,AnturK/-tg-station,Fox-McCloud/-tg-station,Iamgoofball/-tg-station,securitycopper/-tg-station,Niknakflak/-tg-station,octareenroon91/-tg-station,PKPenguin321/-tg-station,Fox-McCloud/-tg-station,Razharas/-tg-station,TheRealGLH/-tg-station,4dplanner/tgstation,XDTM/tgstation,Thunder12345/-tg-station,kevinz000/-tg-station,GunHog/-tg-station,NicholasM10/-tg-station,Cyberboss/tgstation,Shadowlight213/-tg-station,securitycopper/-tg-station,CosmicScientist/-tg-station,Cyberboss/tgstation,Incoming5643/-tg-station,Cruix/-tg-station,ToGWtF/yogstation,tgstation/-tg-station,Jordie0608/tgstation,securitycopper/-tg-station,nicbn/tgstation,Incoming5643/-tg-station,nicbn/tgstation,Buggy123/-tg-station,Buggy123/-tg-station,Profakos/tgstation,loqoman/tgstation,JJRcop/-tg-station,feemjmeem/-tg-station,paprka/-tg-station,ChangelingRain/-tg-station,AnturK/-tg-station,infinitystation/-tg-station,ohnopigeons/tgstation,Razharas/-tg-station,paprka/-tg-station,ToGWtF/yogstation,Mark9013100/tgstation-m9,Y0SH1M4S73R/-tg-station,neersighted/tgstation,Anonus/-tg-station,erwgd/-tg-station,NicholasM10/-tg-station,Bawhoppen/-tg-station,Bawhoppen/-tg-station,TehZombehz/-tg-station,Niknakflak/-tg-station,XDTM/tgstation,optimumtact/-tg-station,Cyberboss/tgstation,tgstation/tgstation,GunHog/-tg-station,JJRcop/tgstation