Revert "Added function to sanitize strings by escaping quotes (#2360)" (#2367)

This reverts commit fe5e5f592b.
This commit is contained in:
Ankit Chawla
2022-02-21 15:34:38 +05:30
committed by GitHub
parent fe5e5f592b
commit 1d22b7596c
7 changed files with 1 additions and 61 deletions
-6
View File
@@ -205,9 +205,3 @@ func DownloadUrl(ctx context.Context, httpClient *http.Client, url string, local
return nil
}
func EscapeQuotes(str string) string {
replacer := strings.NewReplacer("\n", "", "\r", "", "\t", "", `"`, `\"`)
str = replacer.Replace(str)
return str
}