diff --git a/public/index.html b/public/index.html index 863fc7677..9dde83a8e 100644 --- a/public/index.html +++ b/public/index.html @@ -1397,6 +1397,7 @@ //mesSendString = mesSendString; //This edit simply removes the first "" that is prepended to all context prompts } finalPromt = worldInfoBefore+storyString+worldInfoAfter+extension_prompt+mesExmString+mesSendString+generatedPromtCache+promptBias; + finalPromt = finalPromt.replace(/\r/gm, ''); var generate_data; if(main_api == 'kobold'){