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 remote-tracking branch 'origin/master' into hardsync-1.5
This commit is contained in:
@@ -176,7 +176,9 @@ class ChatRenderer {
|
||||
this.highlightColor = null;
|
||||
return;
|
||||
}
|
||||
const allowedRegex = /^[a-z0-9_\-\s]+$/ig;
|
||||
// citadel update - ig changed to i for flags,
|
||||
// to fix issues with highlighting only working for every other word.
|
||||
const allowedRegex = /^[a-z0-9_\-\s]+$/i;
|
||||
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