[MFM] Fix title syntax parsing
This commit is contained in:
@ -230,6 +230,11 @@ describe('Text', () => {
|
||||
assert.deepEqual(
|
||||
{ type: 'title', content: '[yee]\n', title: 'yee'}
|
||||
, tokens2[0]);
|
||||
|
||||
const tokens3 = analyze('a [a]\nb [b]\nc [c]');
|
||||
assert.deepEqual(
|
||||
{ type: 'text', content: 'a [a]\nb [b]\nc [c]' }
|
||||
, tokens2[0]);
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user