feat: split double newline for markdown
parent
1b9ac8c359
commit
aa27152323
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue