evilstreak / markdown-js

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

Fix parsing of header when not separated with double-newlines #95

Closed mishoo closed 11 years ago

mishoo commented 11 years ago

Close #94

ashb commented 11 years ago

Great - thanks for including tests!

One thing: is there a reason you changed [\s\S] to [^] in the regex?

mishoo commented 11 years ago

One thing: is there a reason you changed [\s\S] to [^] in the regex?

No good reason, they both do the same thing. I just thought [^] is nicer. ;-)