merge: more upstream changes

This commit is contained in:
Marie 2024-02-07 21:52:27 +01:00
commit af5ebdfced
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
11 changed files with 123 additions and 23 deletions

View file

@ -33,6 +33,12 @@ describe('MfmService', () => {
const output = '<p><span>foo<br>bar<br>baz</span></p>';
assert.equal(mfmService.toHtml(mfm.parse(input)), output);
});
test('Do not generate unnecessary span', () => {
const input = 'foo $[tada bar]';
const output = '<p>foo <i>bar</i></p>';
assert.equal(mfmService.toHtml(mfm.parse(input)), output);
});
});
describe('fromHtml', () => {