UBERF-6657 Fix gmail message format (#5419)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2024-04-22 15:13:27 +07:00 committed by GitHub
parent 207b8f9f50
commit 817c026d6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@
import { createQuery, getClient } from '@hcengineering/presentation'
import { Integration } from '@hcengineering/setting'
import templates, { TemplateDataProvider } from '@hcengineering/templates'
import { EmptyMarkup, htmlToMarkup, isEmptyMarkup } from '@hcengineering/text'
import { EmptyMarkup, isEmptyMarkup, markupToHTML } from '@hcengineering/text'
import { StyledTextEditor } from '@hcengineering/text-editor'
import { Button, EditBox, IconArrowLeft, IconAttachment, Label, Scroller } from '@hcengineering/ui'
import { createEventDispatcher, onDestroy } from 'svelte'
@ -71,7 +71,7 @@
plugin.space.Gmail,
{
...obj,
content: htmlToMarkup(content),
content: markupToHTML(content),
attachments: attachments.length,
from: selectedIntegration.createdBy,
copy: copy