parent
2c5162671c
commit
f3155ea180
5 changed files with 44 additions and 1 deletions
11
test/mfm.ts
11
test/mfm.ts
|
@ -641,6 +641,17 @@ describe('Text', () => {
|
|||
], tokens);
|
||||
});
|
||||
});
|
||||
|
||||
describe('center', () => {
|
||||
it('simple', () => {
|
||||
const tokens = analyze('<center>foo</center>');
|
||||
assert.deepEqual([
|
||||
nodeWithChildren('center', [
|
||||
text('foo')
|
||||
]),
|
||||
], tokens);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('toHtml', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue