Closes #4187 [FEATURE_REQUEST] Allow wildcards in Banned Strings List

9481f9989a57490d6912d6f2180e1c20454d8daf

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -1Ignore whitespace
public/scripts/textgen-settings.js+2 -1
@@ -423,7 +423,8 @@ function getCustomTokenBans() {
423423 .concat(settings.global_banned_tokens.split('\n'))
424424 .concat(textgenerationwebui_banned_in_macros)
425425 .filter(x => x.length > 0)
426426 .filter(onlyUnique);
427+ .map(x => substituteParams(x));
427428
428429 //debug
429430 if (textgenerationwebui_banned_in_macros.length) {