Commits

Jon Waltman committed 662aa5d

Replace no-break spaces with normal ones inside desc_parameters for Texinfo.

Comments (0)

Files changed (1)

sphinx/writers/texinfo.py

             self.body.append(', ')
         else:
             self.first_param = 0
-        self.body.append(self.escape(node.astext()))
+        text = self.escape(node.astext())
+        # replace no-break spaces with normal ones
+        text = text.replace(u' ', '@w{ }')
+        self.body.append(text)
         raise nodes.SkipNode
 
     def visit_desc_optional(self, node):