evilstreak / markdown-js

A Markdown parser for javascript
7.69k stars 863 forks source link

Input leads to "undefined" in output #96

Closed ianrose14 closed 11 years ago

ianrose14 commented 11 years ago

The following input leads to ouput containing the word "undefined":

foo
> foo

> foo

For clarity, here is the same input as a gist: https://gist.github.com/ianrose14/5879793

Here is the actual HTML that is generated:

<p>foo</p>

<blockquote><p>fooundefined&gt; foo</p></blockquote></div>