[Libreoffice-commits] .: helpcontent2/to-wiki

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 23 10:29:17 PDT 2012


 helpcontent2/to-wiki/wikiconv2.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 821c0522e017a19e0d3fd1fe3a1bf76692fe81b9
Author: Andras Timar <atimar at suse.com>
Date:   Sun Sep 23 19:30:59 2012 +0200

    keep indentation of Basic source codes
    
    Change-Id: I0dd63851a1a9fd9f4f5a7d7662250e8d7df07232

diff --git a/helpcontent2/to-wiki/wikiconv2.py b/helpcontent2/to-wiki/wikiconv2.py
index 8603739..762484d 100755
--- a/helpcontent2/to-wiki/wikiconv2.py
+++ b/helpcontent2/to-wiki/wikiconv2.py
@@ -1050,7 +1050,7 @@ class Paragraph(ElementBase):
 
         # the text itself
         children = ElementBase.get_all(self)
-        if self.role != 'emph':
+        if self.role != 'emph' and self.role != 'bascode':
             children = children.strip()
 
         if len(children) == 0:


More information about the Libreoffice-commits mailing list