[MFM] __ 構文はアルファベットのみに
This commit is contained in:
parent
53481accf1
commit
1df9c1005f
3 changed files with 9 additions and 1 deletions
|
@ -187,6 +187,13 @@ describe('MFM', () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it('with underscores (ensure it allows alphabet only)', () => {
|
||||
const tokens = analyze('(=^・__________・^=)');
|
||||
assert.deepStrictEqual(tokens, [
|
||||
text('(=^・__________・^=)')
|
||||
]);
|
||||
});
|
||||
|
||||
it('mixed syntax', () => {
|
||||
const tokens = analyze('**foo__');
|
||||
assert.deepStrictEqual(tokens, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue