mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
removing whitespace trimming in trimWrongNames block
This commit is contained in:
@ -6047,9 +6047,6 @@ export function cleanUpMessage({ getMessage, isImpersonate, isContinue, displayI
|
|||||||
if (startIndex >= 0) {
|
if (startIndex >= 0) {
|
||||||
getMessage = getMessage.substring(0, startIndex);
|
getMessage = getMessage.substring(0, startIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove any whitespace at the beginning
|
|
||||||
getMessage = getMessage.trimStart();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user