[Test] Add a MFM test
This commit is contained in:
parent
085325e65f
commit
71210595d2
|
@ -901,6 +901,13 @@ describe('MFM', () => {
|
|||
text('【foo】bar【baz】')
|
||||
]);
|
||||
});
|
||||
|
||||
it('disallow linebreak in title', () => {
|
||||
const tokens = analyze('【foo\nbar】');
|
||||
assert.deepStrictEqual(tokens, [
|
||||
text('【foo\nbar】')
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('center', () => {
|
||||
|
|
Loading…
Reference in New Issue