Skip to content

Commit

Permalink
[MM-1096]: review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij-Katiyar committed Aug 28, 2024
1 parent c79fbfa commit 32d11c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/webhook_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ func preProcessText(jiraMarkdownString string) string {
var counter int
var lastLineWasNumberedList bool
var result []string
lines := strings.Split(comment, "\n")
lines := strings.Split(jiraMarkdownString, "\n")
for _, line := range lines {
if numberedListRegex.MatchString(line) {
if !lastLineWasNumberedList {
Expand Down

0 comments on commit 32d11c6

Please sign in to comment.