diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-06-29 13:42:12 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-12-22 15:00:59 +0100 |
commit | ba25a60e913466cee035a63752380baba32229a6 (patch) | |
tree | 74404023d2b60e12d4287e527dce0f653c35ca24 /packages/gitbook-markdown/test | |
parent | c619a1a742fa73544c3dbe897f5cb544c270dea9 (diff) | |
download | gitbook-ba25a60e913466cee035a63752380baba32229a6.zip gitbook-ba25a60e913466cee035a63752380baba32229a6.tar.gz gitbook-ba25a60e913466cee035a63752380baba32229a6.tar.bz2 |
Start switching to markup-it
Diffstat (limited to 'packages/gitbook-markdown/test')
-rw-r--r-- | packages/gitbook-markdown/test/page.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-markdown/test/page.js b/packages/gitbook-markdown/test/page.js index 8b882d8..fac5ec4 100644 --- a/packages/gitbook-markdown/test/page.js +++ b/packages/gitbook-markdown/test/page.js @@ -18,8 +18,8 @@ describe('Page parsing', function() { }); it('should not add id to headings', function() { - assert.equal(page('# Hello').content, '<h1>Hello</h1>\n'); - assert.equal(page('# Hello {#test}').content, '<h1 id="test">Hello </h1>\n'); + assert.equal(page('# Hello').content, '<h1>Hello</h1>'); + assert.equal(page('# Hello {#test}').content, '<h1 id="test">Hello</h1>'); }); it('should escape codeblocks in preparation (1)', function() { |