From 0ec20e7e323da50d33093dbaf1e4f74a295a8a1c Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Fri, 2 Nov 2018 11:32:30 -0700 Subject: trim whitespace around sub-project descriptions so block descriptions look the same as inline descriptions. --- generator/app.go | 1 + 1 file changed, 1 insertion(+) (limited to 'generator/app.go') diff --git a/generator/app.go b/generator/app.go index a75e2b8c..8fb97125 100644 --- a/generator/app.go +++ b/generator/app.go @@ -178,6 +178,7 @@ func getExistingContent(path string, fileFormat string) (string, error) { var funcMap = template.FuncMap{ "tzUrlEncode": tzUrlEncode, + "trimSpace": strings.TrimSpace, } // tzUrlEncode returns a url encoded string without the + shortcut. This is -- cgit v1.2.3