mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-26 22:32:23 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user