1
0

Merge remote-tracking branch 'misskey/release/2024.5.0' into future-2024-04-25-post

This commit is contained in:
dakkar
2024-05-11 14:13:07 +01:00
81 changed files with 16594 additions and 13171 deletions
+6
View File
@@ -39,6 +39,12 @@ describe('MfmService', () => {
const output = '<p>foo <i>bar</i></p>';
assert.equal(mfmService.toHtml(mfm.parse(input)), output);
});
test('escape', () => {
const input = '```\n<p>Hello, world!</p>\n```';
const output = '<p><pre><code>&lt;p&gt;Hello, world!&lt;/p&gt;</code></pre></p>';
assert.equal(mfmService.toHtml(mfm.parse(input)), output);
});
});
describe('fromHtml', () => {