Browse Source

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

Joel 5 months ago
parent
commit
81d4d8cea1
1 changed files with 1 additions and 1 deletions
  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')