evilstreak / markdown-js

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

make buildInlinePattern support for '/' #234

Open caogecym opened 9 years ago

ashb commented 9 years ago

I wasn't aware that '/' needs to be escaped. How to other parsers handle this?

If other parsers behave like this can you add a test case for this? Should be quite easy to expand this https://github.com/evilstreak/markdown-js/blob/97827142d314a3ecfcda1bec7f4123efd7a2fa44/test/regressions.t.js#L436-L440