Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperlink aliases broken when converting rst to rst #3283

Closed
timdiels opened this issue Dec 6, 2016 · 0 comments
Closed

Hyperlink aliases broken when converting rst to rst #3283

timdiels opened this issue Dec 6, 2016 · 0 comments

Comments

@timdiels
Copy link

timdiels commented Dec 6, 2016

Hyperlink aliases are broken when converting rst to rst, for example:

$ pandoc --from rst --to rst
`link <google_>`_

.. _google: https://google.com
<C^d>`link <google_>`__

<C^d> represents pressing Ctrl-d. The output lost the .. _google: https://google.com line, resulting in a dead link. (Or put differently, it did not inline the url as it normally seems to do.)

Pandoc version:

$ pandoc -v
pandoc 1.18
Compiled with pandoc-types 1.17.0.4, texmath 0.8.6.7, highlighting-kate 0.6.3
[...]

Possible fix: In my case, returning the input unchanged when from==to would do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants