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

Regression in smart quotes #9713

Open
serhiy-storchaka opened this issue Oct 7, 2021 · 0 comments
Open

Regression in smart quotes #9713

serhiy-storchaka opened this issue Oct 7, 2021 · 0 comments

Comments

@serhiy-storchaka
Copy link

Describe the bug

Comparing the output of Shinx 3.2.1 and 3.5.4 I have found differences in smart quotes. For example:

 <p>Add a Shell sidebar.  Move the primary prompt (‘&gt;&gt;&gt;’) to the sidebar.
-Add secondary prompts (’…’) to the sidebar.  Left click and optional
+Add secondary prompts (‘…’) to the sidebar.  Left click and optional
 drag selects one or more lines of text, as with the editor
 <li><p><a class="reference external" href="https://bugs.python.org/issue32775">bpo-32775</a>: <a class="reference internal" href="../library/fnmatch.html#fnmatch.translate" title="fnmatch.translate"><code class="xref py py-func docutils literal notranslate"><span class="pre">fnmatch.translate()</span></code></a> no longer produces patterns which
-contain set operations. Sets starting with ‘[’ or containing ‘–’, ‘&amp;&amp;’,
+contain set operations. Sets starting with ‘[‘ or containing ‘–’, ‘&amp;&amp;’,
 ‘~~’ or ‘||’ will be interpreted differently in regular expressions in
 <li><p><a class="reference external" href="https://bugs.python.org/issue21933">bpo-21933</a>: Turtledemo users can change the code font size with a menu
-selection or control(command) ‘-’ or ‘+’ or control-mousewheel. Original
+selection or control(command) ‘-‘ or ‘+’ or control-mousewheel. Original
 patch by Lita Cho.</p></li>

Note that the closing quote is a backquote.

How to Reproduce

Build CPython docs with Sphinx 3.2.1 (default) an Sphinx 3.5.4 and compare results.

Expected behavior

Backquotes should be used as opening quotes, normal quotes should be used as closing quotes.

Your project

https://github.com/python/cpython

Screenshots

No response

OS

Linux 5.4.0

Python version

3.8

Sphinx version

3.5.4

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

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

No branches or pull requests

2 participants