slamdata / purescript-markdown

A Purescript library for parsing SlamData's dialect of Markdown.
Other
36 stars 23 forks source link

Asterisks in link titles aren't handled correctly. #77

Open krisajenkins opened 7 years ago

krisajenkins commented 7 years ago

This markdown works as you'd expect:

[Brainfuck](https://en.wikipedia.org/wiki/Brainfuck)

...but if you want to be polite about it, then you're out of luck, because this markdown:

[Brainf*ck](https://en.wikipedia.org/wiki/Brainfuck)

...parses as Str "[Brainf*ck](https://en.wikipedia.org/wiki/Brainfuck)".

I tried the same markup in http://spec.commonmark.org/dingus/ and it renders as a link, so I believe it's valid markdown.

Thought you'd want to know. :-)

garyb commented 7 years ago

Thanks for the report!