JetBrains / markdown

Markdown parser written in kotlin
Apache License 2.0
706 stars 78 forks source link

Some URLs are not correctly linked #40

Closed kkononov closed 4 years ago

kkononov commented 4 years ago

Example (there's a problem with one-letter suffix, while it's OK with a longer one): image

kkononov commented 4 years ago

One more case (underscore at the tail is not linked): image

valich commented 4 years ago

I've fixed the first case; the latter is not good to fix because it might fail emph syntax. In such cases using <link> will be needed.

saket commented 4 years ago

Is this related to auto-linking of URLs?

valich commented 4 years ago

Yes, GFM-style autolinks w/o enclosing <> chars