chjj/marked — Issue #14: Crashes on input
Author: jgm
Created: 2012-01-09 05:55:13+00:00
State: open

```
% ../marked/bin/marked
\\[test](not a link)
^D
/Users/jgm/src/marked/lib/marked.js:386
href: text[1],
^
TypeError: Cannot read property '1' of null
at Object.lexer (/Users/jgm/src/marked/lib/marked.js:386:19)
at /Users/jgm/src/marked/lib/marked.js:578:18
at /Users/jgm/src/marked/lib/marked.js:606:14
at /Users/jgm/src/marked/lib/marked.js:652:10
at write (/Users/jgm/src/marked/bin/marked:111:9)
at ReadStream. (/Users/jgm/src/marked/bin/marked:101:7)
at ReadStream.emit (events.js:61:17)
at ReadStream._onReadable (net.js:652:51)
at IOWatcher.onReadable [as callback] (net.js:177:10)
```