\n'
+ text += '
'
if d.template_params is not None:
text += 'template <'
- text += ', '.join([f'{p.type} {p.name}' for p in d.template_params])
+ text += ', '.join(
+ [f'{p.type} {p.name}'.rstrip() for p in d.template_params])
text += '>\n'
text += d.type + ' ' + d.name
if d.params is not None:
@@ -173,10 +175,11 @@ class CxxHandler(BaseHandler):
text += '(' + params + ')'
text += ';'
text += '
\n'
- text += '
\n'
+ text += '
\n'
desc = doxyxml2html(d.desc)
text += desc
text += '
\n'
+ text += '
\n'
return text
def get_handler(theme: str, custom_templates: Optional[str] = None,