aboutsummaryrefslogtreecommitdiff
path: root/wiki2html.py
diff options
context:
space:
mode:
Diffstat (limited to 'wiki2html.py')
-rw-r--r--wiki2html.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiki2html.py b/wiki2html.py
index f3ea0e3..10a3e1b 100644
--- a/wiki2html.py
+++ b/wiki2html.py
@@ -173,9 +173,7 @@ class HtmlWikiMarkup (WikiMarkup):
return string
def str_tag(self, elt):
- if elt['tag'] == 'nowiki':
- return '<pre>' + self.format(elt['content']) + '</pre>'
- elif elt['tag'] == 'code':
+ if elt['tag'] == 'code':
self.nested += 1
s = self.format(elt['content'])
self.nested -= 1

Return to:

Send suggestions and report system problems to the System administrator.