From 5ee5ccafb6cda327f302090779545590045ed611 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 18 Aug 2018 00:03:36 +0200 Subject: 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. --- giscanner/docwriter.py | 9 ++++++--- 1 file 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 = '

' - result += self.format_inline(node, doc) - result += '

' + result = '' + for para in doc.split('\n\n'): + result += '

' + result += self.format_inline(node, para) + result += '

' + return result def _resolve_type(self, ident): -- cgit v1.2.1