aboutsummaryrefslogtreecommitdiff
path: root/wiki2text.py
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-11-26 23:56:26 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2008-11-26 23:56:32 +0200
commit34268ebe03133b799208da261dbdbf7c0fb40b93 (patch)
tree355c58a6d9a8325ff1d395b6dadff2cec8013271 /wiki2text.py
parent67cd79c3c64d6dfe73ff5dd80ba51d0bf9267b04 (diff)
downloadwit-34268ebe03133b799208da261dbdbf7c0fb40b93.tar.gz
wit-34268ebe03133b799208da261dbdbf7c0fb40b93.tar.bz2
Fix HTML generation.
* wikins.py: New file (automatically generated.) * build-aux/extrns.php: New file (generator for the above). * wiki2html.py (HtmlWikiMarkup.image_kw, target): Remove (wiki_ns_name,link,mktgt): New methods. (str_link,str_tmpl): Rewrite using self.link. * wiki2text.py, wikimarkup.py (__init__): Fix handling of multiple keywords.
Diffstat (limited to 'wiki2text.py')
-rw-r--r--wiki2text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki2text.py b/wiki2text.py
index 3669bd7..66563a6 100644
--- a/wiki2text.py
+++ b/wiki2text.py
@@ -32,7 +32,7 @@ class TextWikiMarkup (WikiMarkup):
WikiMarkup.__init__(self, *args, **keywords)
if 'width' in keywords:
self.width = keywords['width']
- elif 'refs' in keywords:
+ if 'refs' in keywords:
self.references = keywords['refs']
def target(self, t):

Return to:

Send suggestions and report system problems to the System administrator.