This commit is contained in:
silicons
2021-01-26 07:25:52 -07:00
parent b711259762
commit d8da062ce8
2 changed files with 2 additions and 2 deletions

View File

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