parent
41784de9be
commit
9740db8685
2 changed files with 9 additions and 1 deletions
|
@ -365,6 +365,14 @@ describe('MFM', () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it('ignore double quote', () => {
|
||||
const tokens = analyze('#foo"');
|
||||
assert.deepStrictEqual(tokens, [
|
||||
leaf('hashtag', { hashtag: 'foo' }),
|
||||
text('"'),
|
||||
]);
|
||||
});
|
||||
|
||||
it('allow including number', () => {
|
||||
const tokens = analyze('#foo123');
|
||||
assert.deepStrictEqual(tokens, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue