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()