parent
20c0690352
commit
ed4860dfd9
4 changed files with 50 additions and 0 deletions
11
test/mfm.ts
11
test/mfm.ts
|
@ -713,6 +713,17 @@ describe('Text', () => {
|
|||
], tokens);
|
||||
});
|
||||
});
|
||||
|
||||
describe('italic', () => {
|
||||
it('simple', () => {
|
||||
const tokens = analyze('<i>foo</i>');
|
||||
assert.deepEqual([
|
||||
nodeWithChildren('italic', [
|
||||
text('foo')
|
||||
]),
|
||||
], tokens);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('toHtml', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue