mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Single apostrophe instead of double
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
var/obj/mecha/M = src.loc
|
||||
var/list/answer[0]
|
||||
answer["reference"] = "\ref[src]"
|
||||
answer["name"] = sanitize(replacetext(M.name,"\"","")) // Apostrophes break JSON
|
||||
answer["name"] = sanitize(replacetext(M.name,"\"","'")) // Double apostrophes break JSON
|
||||
if(M.cell)
|
||||
answer["cell"] = 1
|
||||
answer["cell_capacity"] = M.cell.maxcharge
|
||||
|
||||
Reference in New Issue
Block a user