소스 검색

fix: separator change add too many backslash (#9949)

Joel 8 달 전
부모
커밋
81d4d8cea1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/app/components/datasets/create/step-two/escape.ts

+ 1 - 1
web/app/components/datasets/create/step-two/escape.ts

@@ -3,7 +3,7 @@ function escape(input: string): string {
     return ''
 
   const res = input
-    .replaceAll('\\', '\\\\')
+    // .replaceAll('\\', '\\\\') // This would add too many backslashes
     .replaceAll('\0', '\\0')
     .replaceAll('\b', '\\b')
     .replaceAll('\f', '\\f')