Remove trim from /start-reply-with
| @@ -4227,14 +4227,13 @@ $(document).ready(() => { | ||
| 4227 | 4227 | ], |
| 4228 | 4228 | callback: (args, value) => { |
| 4229 | 4229 | const force = isTrueBoolean(String(args?.force ?? false)); |
| 4230 | - value = String(value ?? '').trim(); | |
| 4231 | 4230 | |
| 4232 | 4231 | // Skip processing if no value and not forced |
| 4233 | 4232 | if (!force && !value) { |
| 4234 | 4233 | return power_user.user_prompt_bias; |
| 4235 | 4234 | } |
| 4236 | 4235 | |
| 4237 | 4236 | power_user.user_prompt_bias = String(value ?? ''); |
| 4238 | 4237 | $('#start_reply_with').val(power_user.user_prompt_bias); |
| 4239 | 4238 | saveSettingsDebounced(); |
| 4240 | 4239 | |