mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-25 05:42: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:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user