Great website http://hexo.io
\n', - '\n' - ].join('')); + 'Great website http://hexo.io
', + 'A webpage www.example.com
', + '', + '', + '' + ].join('\n') + '\n'); }); it('autolink disabled', () => { @@ -182,9 +191,12 @@ describe('Marked renderer', () => { const result = r({text: body}); result.should.eql([ - 'Great website http://hexo.io
\n', - '\n' - ].join('')); + 'Great website http://hexo.io
', + 'A webpage www.example.com
', + '', + '', + '' + ].join('\n') + '\n'); }); });