mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
Merge pull request #14140 from silicons/tgui_fix
fixes chat highlighting not working (literally) half the time
This commit is contained in:
@@ -176,7 +176,7 @@ class ChatRenderer {
|
||||
this.highlightColor = null;
|
||||
return;
|
||||
}
|
||||
const allowedRegex = /^[a-z0-9_\-\s]+$/ig;
|
||||
const allowedRegex = /^[a-z0-9_\-\s]+$/i; // citadel update - ig changed to i for flags, to fix issues with highlighting only working for every other word.
|
||||
const lines = String(text)
|
||||
.split(',')
|
||||
.map(str => str.trim())
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user