From 6fd81fadb0be144758ea48636bac9da9b94d18f1 Mon Sep 17 00:00:00 2001 From: maddalax Date: Mon, 23 Sep 2024 15:39:05 -0500 Subject: [PATCH] replace r --- cli/htmgo/tasks/downloadtemplate/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/htmgo/tasks/downloadtemplate/main.go b/cli/htmgo/tasks/downloadtemplate/main.go index de231ad..27aebca 100644 --- a/cli/htmgo/tasks/downloadtemplate/main.go +++ b/cli/htmgo/tasks/downloadtemplate/main.go @@ -23,6 +23,7 @@ func DownloadTemplate(outPath string) { flag.Parse() outPath = strings.ReplaceAll(outPath, "\n", "") + outPath = strings.ReplaceAll(outPath, "\r", "") outPath = strings.ReplaceAll(outPath, " ", "-") outPath = strings.ToLower(outPath)