summaryrefslogtreecommitdiffabout
path: root/wiki2html.py
Side-by-side diff
Diffstat (limited to 'wiki2html.py') (more/less context) (ignore whitespace changes)
-rw-r--r--wiki2html.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wiki2html.py b/wiki2html.py
index d9c049c..f8dfb63 100644
--- a/wiki2html.py
+++ b/wiki2html.py
@@ -99,7 +99,8 @@ class HtmlWikiMarkup (WikiMarkup):
elif s[0] == "proto":
text = self.tmpl_proto(s)
return text
-
+
+ print arg
(qual,sep,tgt) = arg.partition(':')
if tgt != '':
ns = self.wiki_ns_name(qual)
@@ -202,6 +203,8 @@ class HtmlWikiMarkup (WikiMarkup):
string = "";
for x in elt['content']:
string += self.format(x)
+ if self.nested:
+ return string
return '<pre>' + string + '</pre>'
def str_ind(self, elt):

Return to:

Send suggestions and report system problems to the System administrator.