[MFM] Improve title syntax detection
This commit is contained in:
parent
7dcea49be7
commit
085325e65f
3 changed files with 9 additions and 0 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue