From b0e00da2f713540c4fa2e6156b9e67e6e9a3739a Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Tue, 29 Jan 2019 20:33:28 +0900 Subject: Fix #4034 (#4037) * Fix #4034 * improve --- test/mfm.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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 = '

foo
bar
baz

'; assert.equal(toHtml(analyze(input)), output); }); + + it('br alt', () => { + const input = 'foo\r\nbar\rbaz'; + const output = '

foo
bar
baz

'; + assert.equal(toHtml(analyze(input)), output); + }); }); it('code block with quote', () => { -- cgit v1.2.3-freya