Merge remote-tracking branch 'origin/master' into hardsync-1.5

This commit is contained in:
Letter N
2021-02-16 19:41:53 +08:00
71 changed files with 513 additions and 171 deletions

View File

@@ -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