UBERF-9634 Handle unsupported markdown in github integration (port to develop) (#8260)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2025-03-18 19:20:24 +07:00
committed by GitHub
parent 31b54bb039
commit 6f63a407dd
21 changed files with 203 additions and 45 deletions
@@ -188,7 +188,7 @@ export class CommentSyncManager implements DocSyncManager {
})
const messageData: MessageData = {
message: await this.provider.getMarkup(integration, event.comment.body)
message: await this.provider.getMarkupSafe(integration, event.comment.body)
}
if (commentData !== undefined) {
@@ -280,7 +280,7 @@ export class CommentSyncManager implements DocSyncManager {
const account = existing?.modifiedBy ?? (await this.provider.getAccountU(comment.user))?._id ?? core.account.System
const messageData: MessageData = {
message: await this.provider.getMarkup(container.container, comment.body)
message: await this.provider.getMarkupSafe(container.container, comment.body)
}
if (existing === undefined) {
try {