diff options
Diffstat (limited to 'sphinx/util/smartypants.py')
-rw-r--r-- | sphinx/util/smartypants.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/smartypants.py b/sphinx/util/smartypants.py index a92327dcc..a0357e92f 100644 --- a/sphinx/util/smartypants.py +++ b/sphinx/util/smartypants.py @@ -153,6 +153,7 @@ closing_single_quotes_regex_2 = re.compile(r""" (\s | s\b) """ % (close_class,), re.VERBOSE) + def educate_quotes(s): """ Parameter: String. @@ -232,7 +233,7 @@ def educate_quotes_latex(s, dquotes=("``", "''")): # Finally, replace all helpers with quotes. return s.replace("\x01", dquotes[0]).replace("\x02", dquotes[1]).\ - replace("\x03", "`").replace("\x04", "'") + replace("\x03", "`").replace("\x04", "'") def educate_backticks(s): |