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
@@ -545,13 +545,13 @@ A list of closed updated issues`
})
it('Check underline heading rule', () => {
const t1 = 'Hello\n---\nSome text'
const t1 = 'Hello\n---\n\nSome text'
const msg = parseMessageMarkdown(t1, 'ref://', 'http://', 'http://')
expect(msg.type).toEqual(MarkupNodeType.doc)
const md = serializeMessage(msg, 'ref://', 'http://')
expect(md).toEqual('## Hello\n\nSome text')
expect(md).toEqual('Hello\n---\n\nSome text')
})
it('Check horizontal line', () => {