This commit is contained in:
syuilo 2021-07-23 11:24:04 +09:00
parent 4c20bcb053
commit 047474831b

View file

@ -19,6 +19,14 @@ https://github.com/syuilo/ai
after`;
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('preserve url brackets', () => {
const input1 = `https://github.com/syuilo/ai`;
assert.strictEqual(mfm.toString(mfm.parse(input1)), input1);
const input2 = `<https://github.com/syuilo/ai>`;
assert.strictEqual(mfm.toString(mfm.parse(input2)), input2);
});
});
describe('inspect', () => {