JetBrains / markdown

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

LINK_DESTINATION should not allow EOL #93

Open katepol opened 3 years ago

katepol commented 3 years ago

According to spec, link destination cannot contain line endings: see https://spec.commonmark.org/0.30/#example-490 But that sample is parsed into INLINE_LINK with LINK_DESTINATION that consists of Markdown:< Markdown:TEXT Markdown:EOL Markdown:TEXT Markdown:>