Merge pull request #8319 from felixonmars/patch-1

Correct a typo in texinfo.py
This commit is contained in:
Takeshi KOMIYA
2020-10-24 17:48:16 +09:00
committed by GitHub

View File

@@ -369,7 +369,7 @@ class TexinfoTranslator(SphinxTranslator):
"""Return an escaped string suitable for use as an argument
to a Texinfo command."""
s = self.escape(s)
# commas are the argument delimeters
# commas are the argument delimiters
s = s.replace(',', '@comma{}')
# normalize white space
s = ' '.join(s.split()).strip()