diff options
Diffstat (limited to 'generator')
| -rw-r--r-- | generator/app.go | 1 | ||||
| -rw-r--r-- | generator/sig_readme.tmpl | 2 |
2 files changed, 2 insertions, 1 deletions
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 diff --git a/generator/sig_readme.tmpl b/generator/sig_readme.tmpl index 81646625..0d4d347f 100644 --- a/generator/sig_readme.tmpl +++ b/generator/sig_readme.tmpl @@ -62,7 +62,7 @@ The following subprojects are owned by sig-{{.Label}}: {{- range .Subprojects }} - **{{.Name}}** {{- if .Description }} - - Description: {{ .Description }} + - Description: {{ trimSpace .Description }} {{- end }} - Owners: {{- range .Owners }} |
