diff --git a/changelog.d/746.bugfix b/changelog.d/746.bugfix new file mode 100644 index 00000000..31f74597 --- /dev/null +++ b/changelog.d/746.bugfix @@ -0,0 +1 @@ +Fix Github comments not being rendered correctly as blockquotes. \ No newline at end of file diff --git a/src/Connections/GithubRepo.ts b/src/Connections/GithubRepo.ts index e58dcd0f..3ba1ce9e 100644 --- a/src/Connections/GithubRepo.ts +++ b/src/Connections/GithubRepo.ts @@ -912,7 +912,7 @@ export class GitHubRepoConnection extends CommandConnection TRUNCATE_COMMENT_SIZE ? "…" : ""); + message += "\n> " + event.comment.body.substring(0, TRUNCATE_COMMENT_SIZE) + (event.comment.body.length > TRUNCATE_COMMENT_SIZE ? "…" : ""); await this.intent.sendEvent(this.roomId, { msgtype: "m.notice",