diff options
author | Brandon T. Willard <brandonwillard@gmail.com> | 2019-01-01 21:38:14 -0600 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-02-03 18:51:57 +0900 |
commit | 87a0bf9d5e4b632028f21b31f5433d31df448ea4 (patch) | |
tree | a0af88a6faecfae29367bf335bf67cf42368b7ae | |
parent | 6b3244d679cfe3994ac941c2673195e5415757ab (diff) | |
download | sphinx-git-87a0bf9d5e4b632028f21b31f5433d31df448ea4.tar.gz |
Allow periods in texinfo node names
Closes #5871.
-rw-r--r-- | sphinx/writers/texinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py index d7490a652..fd0c244d3 100644 --- a/sphinx/writers/texinfo.py +++ b/sphinx/writers/texinfo.py @@ -384,7 +384,7 @@ class TexinfoTranslator(nodes.NodeVisitor): def escape_id(self, s): # type: (unicode) -> unicode """Return an escaped string suitable for node names and anchors.""" - bad_chars = ',:.()' + bad_chars = ',:()' for bc in bad_chars: s = s.replace(bc, ' ') s = ' '.join(s.split()).strip() |