diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 0cefa6a..14631cc 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -155,9 +155,9 @@ func UnescapeSpecialchars(str string) string { // TODO: Implement this function func EscapeSpecialchars(str string) string { repl := strings.NewReplacer( - `\t`, `\\t`, - `\r`, `\\r`, - `\n`, `\\n`, + `\t`, `\t`, + `\r`, `\r`, + `\n`, `\n`, ) return repl.Replace(str) }