mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Correct a typo in texinfo.py
This commit is contained in:
parent
0476e1cea9
commit
10335feed7
@ -369,7 +369,7 @@ class TexinfoTranslator(SphinxTranslator):
|
|||||||
"""Return an escaped string suitable for use as an argument
|
"""Return an escaped string suitable for use as an argument
|
||||||
to a Texinfo command."""
|
to a Texinfo command."""
|
||||||
s = self.escape(s)
|
s = self.escape(s)
|
||||||
# commas are the argument delimeters
|
# commas are the argument delimiters
|
||||||
s = s.replace(',', '@comma{}')
|
s = s.replace(',', '@comma{}')
|
||||||
# normalize white space
|
# normalize white space
|
||||||
s = ' '.join(s.split()).strip()
|
s = ' '.join(s.split()).strip()
|
||||||
|
Loading…
Reference in New Issue
Block a user