Commits

Georg Brandl committed ba27d40

Use non-breaking spaces to separate type and parameter name.

Comments (0)

Files changed (1)

sphinx/domains/c.py

                 self._parse_type(param, arg)
             else:
                 self._parse_type(param, ctype)
-                param += nodes.emphasis(' '+argname, ' '+argname)
+                # separate by non-breaking space in the output
+                param += nodes.emphasis(' '+argname, u'\xa0'+argname)
             paramlist += param
         signode += paramlist
         if const: