summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mfm.ts7
1 files changed, 7 insertions, 0 deletions
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', () => {