change keep newline to include newline

This commit is contained in:
Sanskar Tiwari
2023-05-15 21:00:24 +05:30
parent ab124cb926
commit c8b77c0d58
4 changed files with 17 additions and 17 deletions

View File

@ -1664,7 +1664,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
$("#send_textarea").val('').trigger('input');
if (power_user.trim_sentences) {
textareaText = end_trim_to_sentence(textareaText, power_user.keep_newlines);
textareaText = end_trim_to_sentence(textareaText, power_user.include_newline);
}
} else {
textareaText = "";