Don't force a newline for story string if instruct wrap is disabled
This commit is contained in:
parent
da01384cb6
commit
99a7925be4
|
@ -1942,8 +1942,10 @@ export function renderStoryString(params) {
|
|||
|
||||
// add a newline to the end of the story string if it doesn't have one
|
||||
if (output.length > 0 && !output.endsWith('\n')) {
|
||||
if (!power_user.instruct.enabled || power_user.instruct.wrap) {
|
||||
output += '\n';
|
||||
}
|
||||
}
|
||||
|
||||
return output;
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue