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

This commit is contained in:
Georg Brandl
2011-01-03 23:47:33 +01:00
parent 63db45dea9
commit 0aa9538484

View File

@@ -121,7 +121,8 @@ class CObject(ObjectDescription):
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: