feat: split double newline for markdown

main
sudo pacman -Syu 2021-05-31 10:37:24 +00:00
parent 1b9ac8c359
commit aa27152323
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func GenerateMarkdown(commits []convention.Commit, scopes map[string]struct{}, v
}
func ParseMarkdown(data string) []markdown.Node {
lines := strings.Split(data, "\n")
lines := strings.Split(data, "\n\n")
nodes := markdown.Parse(lines)
// Remove title