Commits

Jon Waltman  committed 662aa5d

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

  • Participants
  • Parent commits c3d7018

Comments (0)

Files changed (1)

File 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):