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)