From 085325e65fa47c9dd9f2d261faeb7775f9f2486f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 27 Jan 2019 13:40:38 +0900 Subject: [MFM] Improve title syntax detection --- test/mfm.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/mfm.ts b/test/mfm.ts index a4b4a13973..2124f592fe 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -894,6 +894,13 @@ describe('MFM', () => { text('after') ]); }); + + it('ignore multiple title blocks', () => { + const tokens = analyze('【foo】bar【baz】'); + assert.deepStrictEqual(tokens, [ + text('【foo】bar【baz】') + ]); + }); }); describe('center', () => { -- cgit v1.2.3-freya