Skip to content

Commit

Permalink
Added test for a code block with a single empty line as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jul 7, 2015
1 parent 3ec548a commit 85cfbb6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/tests/gfm_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
<pre><code class="lang-ManyTildes">A longfence!</code></pre>
<p>How about an empty code block?</p>
<pre><code class="lang-js"></code></pre>
<p>How about a code block with only an empty line?</p>
<pre><code class="lang-js">
</code></pre>
6 changes: 6 additions & 0 deletions test/tests/gfm_code.text
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ How about an empty code block?

```js
```

How about a code block with only an empty line?

```js

```

0 comments on commit 85cfbb6

Please sign in to comment.