[Test] Add a MFM test
This commit is contained in:
parent
4f810bab1a
commit
b5f0911146
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue