-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
last underscore of URL in replacement substitution is dropped (rst source) #5763
Comments
Is this really a bug? Try with rst2html.py:
We are conforming to docutils behavior here.
|
Rather this is also an |
Filed also for docutils: https://sourceforge.net/p/docutils/bugs/378/ |
If they confirm it's a bug, I'll fix it here too. |
https://sourceforge.net/p/docutils/bugs/378/ |
There I keep this here in the context instead of opening a new issue: a.rst
with
produces
Note, that the last
does not produce an error. |
Solved part, maybe all of it.
We get the link right now. I'm not sure what the first line of a.rst is supposed to be doing, and whether pandoc is mistaken in stripping the final |
The first line is enclosed in backticks. It is a normal target. It could be somewhere else in the file or even in another file. I just placed it in the file so that the target for |
pandoc 2.7.3
a.rst
with
produces
Note, that the last
_
of__init__
has been dropped.The text was updated successfully, but these errors were encountered: