summaryrefslogtreecommitdiff
path: root/wiki2text.py
diff options
context:
space:
mode:
Diffstat (limited to 'wiki2text.py')
-rw-r--r--wiki2text.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiki2text.py b/wiki2text.py
index d4cab81..c92dbc0 100644
--- a/wiki2text.py
+++ b/wiki2text.py
@@ -143,9 +143,7 @@ class TextWikiMarkup (WikiMarkup):
return output + linebuf
def str_tag(self, elt):
- if elt['tag'] == 'nowiki':
- return self.format(elt['content'])
- 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.