mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Fix NanoUIs when the title includes a single quote
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
|
||||
// Generate JSON.
|
||||
var/list/send_data = get_send_data(initial_data)
|
||||
var/initial_data_json = replacetext(JSON.stringify(send_data), "'", "\\'")
|
||||
var/initial_data_json = replacetext(JSON.stringify(send_data), "'", "'")
|
||||
|
||||
// Generate the HTML document.
|
||||
return {"
|
||||
|
||||
Reference in New Issue
Block a user