mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove char name from the TTS if it is hidden from display with power user setting
This commit is contained in:
@ -431,3 +431,7 @@ export function getCharaFilename() {
|
||||
return fileName.replace(/\.[^/.]+$/, "")
|
||||
}
|
||||
}
|
||||
|
||||
export function escapeRegex(string) {
|
||||
return string.replace(/[/\-\\^$*+?.()|[\]{}]/g, '\\$&');
|
||||
}
|
||||
|
Reference in New Issue
Block a user