diff options
Diffstat (limited to 'test/mfm.ts')
| -rw-r--r-- | test/mfm.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/mfm.ts b/test/mfm.ts index a1f83fe1db..3452c5f109 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -1096,6 +1096,12 @@ describe('MFM', () => { const output = '<p><span>foo<br>bar<br>baz</span></p>'; assert.equal(toHtml(analyze(input)), output); }); + + it('br alt', () => { + const input = 'foo\r\nbar\rbaz'; + const output = '<p><span>foo<br>bar<br>baz</span></p>'; + assert.equal(toHtml(analyze(input)), output); + }); }); it('code block with quote', () => { |