mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 21:46:49 +01:00
Fix copy-paste issue
This commit is contained in:
parent
23a57e86a7
commit
e0d6430ade
@ -3813,7 +3813,7 @@ function cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncomplete
|
||||
}
|
||||
|
||||
if (!power_user.allow_name2_display) {
|
||||
mes = mes.replace(new RegExp(`(^|\n)${name2}:`, 'g'), "$1");
|
||||
getMessage = getMessage.replace(new RegExp(`(^|\n)${name2}:`, 'g'), "$1");
|
||||
}
|
||||
|
||||
if (isImpersonate) {
|
||||
|
Loading…
Reference in New Issue
Block a user