diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-08-18 00:03:36 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-08-18 00:12:19 +0200 |
commit | 5ee5ccafb6cda327f302090779545590045ed611 (patch) | |
tree | 2ee544fa81b94a0a8b8c07231bdc564f132eea65 /giscanner | |
parent | b9f520fa056b86daac9375b7ac584a75ab966cfd (diff) | |
download | gobject-introspection-5ee5ccafb6cda327f302090779545590045ed611.tar.gz |
docwriter: revert some output changes to make the tests pass
This reverts a small part of 19c03a46b1 to make tests pass again.
The test error weren't noticed because a new Python dependency was
missing, leading to those tests getting skipped.
Diffstat (limited to 'giscanner')
-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): |