diff --git a/test/parser.ts b/test/parser.ts index 69b5d23..e419d84 100644 --- a/test/parser.ts +++ b/test/parser.ts @@ -129,6 +129,20 @@ describe('FullParser', () => { ]; assert.deepStrictEqual(mfm.parse(input), output); }); + it('引用ブロックの後ろの空行は無視される', () => { + const input = ` +> foo +> bar + +hoge`; + const output = [ + QUOTE([ + TEXT('foo\nbar') + ]), + TEXT('hoge') + ]; + assert.deepStrictEqual(mfm.parse(input), output); + }); }); describe('search', () => {