mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't trim whitespace start of story string
This commit is contained in:
@ -1849,7 +1849,7 @@ export function renderStoryString(params) {
|
||||
output = substituteParams(output, params.user, params.char);
|
||||
|
||||
// remove leading whitespace
|
||||
output = output.trimStart();
|
||||
// output = output.trimStart();
|
||||
|
||||
// add a newline to the end of the story string if it doesn't have one
|
||||
if (output.length > 0 && !output.endsWith('\n')) {
|
||||
|
Reference in New Issue
Block a user