diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-01-29 20:33:28 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-01-29 20:33:28 +0900 |
| commit | b0e00da2f713540c4fa2e6156b9e67e6e9a3739a (patch) | |
| tree | 0872d4f77c7ad3cec447bdcc5eb55312cf7b4549 /test | |
| parent | リプライ/メンションされていれば非フォロワーへのフォ... (diff) | |
| download | sharkey-b0e00da2f713540c4fa2e6156b9e67e6e9a3739a.tar.gz sharkey-b0e00da2f713540c4fa2e6156b9e67e6e9a3739a.tar.bz2 sharkey-b0e00da2f713540c4fa2e6156b9e67e6e9a3739a.zip | |
Fix #4034 (#4037)
* Fix #4034
* improve
Diffstat (limited to 'test')
| -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', () => { |