We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36712d5 commit 2b0ca58Copy full SHA for 2b0ca58
pkg/document/generate.go
@@ -5,7 +5,6 @@ import (
5
"os"
6
"path/filepath"
7
"regexp"
8
- "strings"
9
10
"github.com/norwoodj/helm-docs/pkg/helm"
11
log "github.com/sirupsen/logrus"
@@ -78,7 +77,6 @@ func applyMarkDownFormat(output bytes.Buffer) bytes.Buffer {
78
77
79
re = regexp.MustCompile(`\n{3,}`)
80
outputString = re.ReplaceAllString(outputString, "\n\n")
81
- outputString = strings.TrimSuffix(outputString, "\n")
82
83
output.Reset()
84
output.WriteString(outputString)
0 commit comments