pillar-markup / Microdown

Microdown is a cleaned and simpler markdown but with more powerful features such as extensions.
Other
40 stars 31 forks source link

wrong parsing of links #661

Open demarey opened 1 year ago

demarey commented 1 year ago

When parsing a link with characters part of keys in the MicInlineParser, the model produced is not right.

The following example:

md := '[_Foo_](/anUrl_foo_bar)'.
MicrodownParser parse: md

should give one paragraph node with a link node as children but you get paragraph node with a link node plus 2 extra nodes: an italic node and a text node. _ characters in the url are interpreted as a markdown text and by so => italic node.

Ducasse commented 1 year ago

La solution est que j'integre le nouveau parser de Kasper Donc je vais le faire. Est ce que tu pourrais regarder si sa PR resoud le probleme car il a tout reecrit.

Ducasse commented 2 months ago

I checked and this is not the case anymore. I will add a test and close this issue today