Commits

Jon Waltman committed 2e8dbfd

Tweak how the Texinfo writer escapes index entries.

  • Participants
  • Parent commits 124180a

Comments (0)

Files changed (1)

File sphinx/writers/texinfo.py

             return
         for entry in node['entries']:
             typ, text, tid, text2 = entry
-            text = text.replace('!', ' ').replace(';', ' ')
+            text = text.replace('()', ' ').replace('(', '[').replace(')', ']')
             text = escape_id(text)
             self.add_text('@geindex %s\n' % text, fresh=1)