1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #10298 closed

Mistreatment of Image Followed by Hyperlink (Markdown Parser) (BB-11302)

Alexander Shukaev
created an issue

There is a problem with Markdown parser. I'll show an example to explain it.

[Bitbucket]: https://bitbucket.org
[Images/Download]: https://bitbucket.org/Haroogan/vim-for-windows/raw/master/images/16-16/download.png "Download"

Desired Source:

![Download][Images/Download] [Download][Bitbucket]

Wrong Result:

Download [Download]Bitbucket

Current workaround is to trick the parser with some other markup between the image and the hyperlink.

Workaround Source:

![Download][Images/Download]* *[Download][Bitbucket]

Correct Result:

Download Download

Although there is a workaround, the issue is quite annoying. I hope you can find resources to fix that more or less quickly. Good luck and best regards!

Comments (3)

  1. Log in to comment