From e03cd66c2dd12942cb984da1e57c0fddb965a164 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Wed, 28 Oct 2009 08:15:16 +0000 Subject: [PATCH] 3304: current HTML modules add a newline for every doc.write_text() svn: r13439 --- src/plugins/docgen/HtmlDoc.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/docgen/HtmlDoc.py b/src/plugins/docgen/HtmlDoc.py index a97b0d4c7..ecc8e9a94 100644 --- a/src/plugins/docgen/HtmlDoc.py +++ b/src/plugins/docgen/HtmlDoc.py @@ -392,18 +392,19 @@ class HtmlDoc(BaseDoc, TextDoc): level = style.get_header_level() if level == 0: #a normal paragraph - self.htmllist += (Html('p', class_=style_name),) + self.htmllist += (Html('p', class_=style_name, inline=True),) elif level == 1: if self.__title_written == -1 and \ style_name.upper().find('TITLE') != -1: self.__title_written = 0 self.htmllist += (Html('div', id="header"),) - self.htmllist += (Html('h1', class_=style_name, id='SiteTitle'),) + self.htmllist += (Html('h1', class_=style_name, id='SiteTitle', + inline=True),) else: - self.htmllist += (Html('h1', class_=style_name),) + self.htmllist += (Html('h1', class_=style_name, inline=True),) elif 2<= level <= 5: tag = 'h'+str(level+1) - self.htmllist += (Html(tag, class_=style_name),) + self.htmllist += (Html(tag, class_=style_name, inline=True),) else: # a low level header self.htmllist += (Html('div', id='grampsheading',