Consider this test.rst
John-'Jack' John--'Jack' John-- 'Jack'
and process it via rst2html.py --smart-quotes -- test.rst test.html
. We get:
<p>John-‘Jack’ John–’Jack’ John– ‘Jack’</p>
In second case, the first quote character is closing, not opening. Same phenomenon with using "
in place of '
in source.
I cannot reproduce here with smartquotes.py 1.8.1 2017-10-25.
Opening quotes are correctly recognized also after --.
I had only tested with 0.14 indeed. So the issue was already solved by https://sourceforge.net/p/docutils/code/8190/, and I confirm it works for me too.
I have a question: I git cloned docutils, but
pip install .
takes quite some time (so much so that I would not go intogit bisect
), andpip install -e .
did not work for me. How can I install Docutils in a virtualenv and test various checkouts of the commit history?Last edit: jfbu 2018-01-02
Closing the bug. This seems to be solved in the development version.
Thank you for reporting.