mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 16:07:36 +01:00
Character preferences / records html decoding (#17796)
Character preferences / records are now decoded correctly for the computer UI and character preference. Known issues, that already existed before this PR: Security incident reports cannot be imported (nothing appears), charges and details of an incident do not show up on the PDA application 
This commit is contained in:
@@ -137,14 +137,14 @@
|
||||
"sex" = R.sex,
|
||||
"age" = R.age,
|
||||
"fingerprint" = R.fingerprint,
|
||||
"has_notes" = R.notes,
|
||||
"has_notes" = html_decode(R.notes),
|
||||
"physical_status" = R.physical_status,
|
||||
"mental_status" = R.mental_status,
|
||||
"species" = R.species,
|
||||
"citizenship" = R.citizenship,
|
||||
"religion" = R.religion,
|
||||
"employer" = R.employer,
|
||||
"notes" = R.notes,
|
||||
"notes" = html_decode(R.notes),
|
||||
"blood" = R.medical ? R.medical.blood_type : null,
|
||||
"dna" = R.medical ? R.medical.blood_dna : null,
|
||||
"ccia_notes" = R.ccia_record,
|
||||
@@ -171,7 +171,7 @@
|
||||
excluded += "security"
|
||||
if(!(records_type & RECORD_MEDICAL))
|
||||
excluded += "medical"
|
||||
var/returned = active.Listify(1, excluded, data["active"])
|
||||
var/returned = active.Listify(1, excluded, data["active"], decode_html = TRUE)
|
||||
if(returned)
|
||||
data["active"] = returned
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user