mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Format Change of Health Analyzers + scanners.dm Cleanup (#48595)
* VERY cool no more stink (less) * LIST GAAANGLIST GAAANGLIST GAAANGLIST GAAANGLIST GAAANGLIST GAAANG
This commit is contained in:
@@ -18,7 +18,7 @@ SUBSYSTEM_DEF(chat)
|
||||
return
|
||||
|
||||
|
||||
/datum/controller/subsystem/chat/proc/queue(target, message, handle_whitespace = TRUE)
|
||||
/datum/controller/subsystem/chat/proc/queue(target, message, handle_whitespace = TRUE, trailing_newline = TRUE)
|
||||
if(!target || !message)
|
||||
return
|
||||
|
||||
@@ -36,7 +36,8 @@ SUBSYSTEM_DEF(chat)
|
||||
if(handle_whitespace)
|
||||
message = replacetext(message, "\n", "<br>")
|
||||
message = replacetext(message, "\t", "[FOURSPACES][FOURSPACES]")
|
||||
message += "<br>"
|
||||
if (trailing_newline)
|
||||
message += "<br>"
|
||||
|
||||
|
||||
//url_encode it TWICE, this way any UTF-8 characters are able to be decoded by the Javascript.
|
||||
|
||||
Reference in New Issue
Block a user