tanakahisateru/js-markdown-extra — pull request #21 by chingjun (2012-12-06 19:49:31+00:00)
Title: Do not consume the trailing newlines in deflist regex

Since there is no lookbehind is javascript regex, the regex in deflist matches both preceding and trailing newline characters, causing consecutive deflist to fail.

Fixed this by excluding newline characters from the regex so that the next definition will be matched.

Please note that this process is different from the PHP version and I don't know if you would want to merge this.

Markdown to reproduce problem:

```
term1
: def1

term2
: def2

term3
: def3

term4
: def4
: def5
```

Thanks.