summaryrefslogtreecommitdiffabout
path: root/wiki2html.py
Side-by-side diff
Diffstat (limited to 'wiki2html.py') (more/less context) (ignore whitespace changes)
-rw-r--r--wiki2html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki2html.py b/wiki2html.py
index 66939c4..f3ea0e3 100644
--- a/wiki2html.py
+++ b/wiki2html.py
@@ -203,7 +203,7 @@ class HtmlWikiMarkup (WikiMarkup):
return '<pre>' + string + '</pre>'
def str_ind(self, elt):
- return ("&nbsp;" * 2 * elt['level']) + self.format(elt['content'])
+ return ("<dl><dd>" * elt['level']) + self.format(elt['content']) + "</dd></dl>" * elt['level']
def format(self, elt):
if elt['type'] == 'TEXT':

Return to:

Send suggestions and report system problems to the System administrator.