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

Invalid parsing of indirect hyperlink targets in reStructuredText #512

Closed
roxeteer opened this issue May 14, 2012 · 1 comment
Closed

Invalid parsing of indirect hyperlink targets in reStructuredText #512

roxeteer opened this issue May 14, 2012 · 1 comment

Comments

@roxeteer
Copy link

This reStructuredText sample produces invalid HTML code in Pandoc:

`click here`__ or `click here`__

.. _link1: http://www.example.com/
.. _link2: http://johnmacfarlane.net/pandoc/

__ link1_
__ link2_

It currently generates this HTML:

<p><a href="link1_">click here</a> or <a href="link2_">click here</a></p>

But it should generate this HTML:

<p><a href=http://www.example.com/">click here</a> or <a href="http://johnmacfarlane.net/pandoc/">click here</a></p>
@mpickering
Copy link
Collaborator

This is still an issue with 1.13.1. I suspect that hyperlink targets are not implemented fully.

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

3 participants