JetBrains / markdown

Markdown parser written in kotlin
Apache License 2.0
682 stars 75 forks source link

LINK_LABEL is parced differently in references and definitions #77

Open kokorins opened 3 years ago

kokorins commented 3 years ago
[link][1]

[1]: some.url

In the full reference the LINK_LABEL is parsed as Composed node with '['+ TEXT + ']' as children In the link definition the LINK_LABEL is parsed as Leaf node with '[TEXT]' as text with no children.