Skip to content

Commit be311fc

Browse files
committed
Trim whitespace from helpgen-parsed Details field
1 parent 64b0534 commit be311fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/helpgen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func godocToDetails(typeName string, doc string) (summary, details string) {
8383

8484
details = ""
8585
if len(docParts) > 1 {
86-
details = docParts[1]
86+
details = strings.TrimSpace(docParts[1])
8787
}
8888
return summary, details
8989
}

0 commit comments

Comments
 (0)