Skip to content

Commit

Permalink
fix: Remove extra inner linebreak from code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Feb 23, 2019
1 parent d59f4cf commit f586ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Marked renderer', function() {

result.should.eql([
'<h1 id="Hello-world"><a href="#Hello-world" class="headerlink" title="Hello world"></a>Hello world</h1>',
'<pre><code>' + util.highlight(code, {gutter: false, wrap: false}) + '\n</code></pre>',
'<pre><code>' + util.highlight(code, {gutter: false, wrap: false}) + '</code></pre>',
'<h2 id="Hello-world-1"><a href="#Hello-world-1" class="headerlink" title="Hello world"></a>Hello world</h2>',
'<p>hello</p>'
].join('') + '\n');
Expand Down

0 comments on commit f586ae4

Please sign in to comment.