Exploit fix

This commit is contained in:
ZomgPonies
2014-02-28 21:24:01 -05:00
parent 09bfeb737b
commit a39b199cfb
+1 -1
View File
@@ -52,7 +52,7 @@
c.info = "<font color = #101010>"
else //no toner? shitty copies for you!
c.info = "<font color = #808080>"
var/copied = html_decode(copy.info)
var/copied = copy.info
copied = replacetext(copied, "<font face=\"[c.deffont]\" color=", "<font face=\"[c.deffont]\" nocolor=") //state of the art techniques in action
copied = replacetext(copied, "<font face=\"[c.crayonfont]\" color=", "<font face=\"[c.crayonfont]\" nocolor=") //This basically just breaks the existing color tag, which we need to do because the innermost tag takes priority.
c.info += copied