atom-rst-preview icon indicating copy to clipboard operation
atom-rst-preview copied to clipboard

Preview incorrectly renders external links

Open Culpable opened this issue 7 years ago • 0 comments

When creating an external link using:

`Python version 2.7.10<https://www.python.org/downloads/release/python-2710/>`_

The preview will incorrectly render the hyperlink to the label, i.e. Python version 2.7.10

I'm not sure that this is a correct render. When compiled using Sphinx and deployed to GitHub, it is rendered to display Python version 2.7.10<https://www.python.org/downloads/release/python-2710/> instead. I believe the hyperlink should only render to the label when a space is inserted between the label and the link, as follows:

`Python version 2.7.10 <https://www.python.org/downloads/release/python-2710/>`_

This correctly displays the render on GitHub as Python version 2.7.10.

Sphinx docs points out that:

Important
There must be a space between the link text and the opening 

Culpable avatar Nov 03 '17 10:11 Culpable