From 024aa056b9770603c7603f58be0b0ee4906c010e Mon Sep 17 00:00:00 2001 From: Richard Gomez <32133502+rgmz@users.noreply.github.com> Date: Thu, 23 Nov 2023 19:14:28 -0500 Subject: [PATCH] chore(github): add a newline between titles and bodies (#2124) --- pkg/sources/github/github.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/sources/github/github.go b/pkg/sources/github/github.go index 5444f5fa44fd..898b3f04c554 100644 --- a/pkg/sources/github/github.go +++ b/pkg/sources/github/github.go @@ -1356,7 +1356,7 @@ func (s *Source) chunkIssues(ctx context.Context, repoInfo repoInfo, issues []*g }, }, }, - Data: []byte(sanitizer.UTF8(issue.GetTitle() + issue.GetBody())), + Data: []byte(sanitizer.UTF8(issue.GetTitle() + "\n" + issue.GetBody())), Verify: s.verify, } @@ -1455,7 +1455,7 @@ func (s *Source) chunkPullRequests(ctx context.Context, repoInfo repoInfo, prs [ }, }, }, - Data: []byte(sanitizer.UTF8(pr.GetTitle() + pr.GetBody())), + Data: []byte(sanitizer.UTF8(pr.GetTitle() + "\n" + pr.GetBody())), Verify: s.verify, }