From 43dfc7e1f06ebe0c8426e7d55cd6033bc2cdf317 Mon Sep 17 00:00:00 2001 From: jialin Date: Fri, 20 Mar 2026 17:45:26 +0800 Subject: [PATCH] fix: normalize parameter string by removing line-continuation backslashes --- src/utils/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/index.ts b/src/utils/index.ts index a254064f..89f4eed5 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -283,8 +283,10 @@ export const parseParamsString = (paramsString: string): string[] => { } // Convert multiline to single line, replace newlines with spaces + // Remove line-continuation backslashes (surrounded by spaces or at end of line) const normalizedString = paramsString .replace(/\n/g, ' ') + .replace(/\s\\\s/g, ' ') .replace(/\s+/g, ' ') .trim();