diff options
Diffstat (limited to 'giscanner/docwriter.py')
-rw-r--r-- | giscanner/docwriter.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/giscanner/docwriter.py b/giscanner/docwriter.py index 4a8b94cc..a29ba374 100644 --- a/giscanner/docwriter.py +++ b/giscanner/docwriter.py @@ -249,9 +249,12 @@ class DocFormatter(object): if doc is None: return '' - result = '<p>' - result += self.format_inline(node, doc) - result += '</p>' + result = '' + for para in doc.split('\n\n'): + result += ' <p>' + result += self.format_inline(node, para) + result += '</p>' + return result def _resolve_type(self, ident): |