summaryrefslogtreecommitdiff
path: root/helpcontent2/to-wiki/wikiconv2.py
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-09-23 19:30:59 +0200
committerAndras Timar <atimar@suse.com>2012-09-23 19:30:59 +0200
commit821c0522e017a19e0d3fd1fe3a1bf76692fe81b9 (patch)
tree4848c7592723d0e211abb3989ca7f4c48365d55d /helpcontent2/to-wiki/wikiconv2.py
parentd725d2d6caf66f6e7786ea6d48b3878a60be9eaf (diff)
keep indentation of Basic source codes
Change-Id: I0dd63851a1a9fd9f4f5a7d7662250e8d7df07232
Diffstat (limited to 'helpcontent2/to-wiki/wikiconv2.py')
-rwxr-xr-xhelpcontent2/to-wiki/wikiconv2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcontent2/to-wiki/wikiconv2.py b/helpcontent2/to-wiki/wikiconv2.py
index 8603739c1e..762484d225 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: