From: Bernie Innocenti Date: Wed, 19 Aug 2009 10:03:18 +0000 (+0200) Subject: Fix inlining of other wiki pages X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=8572b870b28b6ecaba354ab47a4dc016ad889c03;p=geekigeeki.git Fix inlining of other wiki pages --- diff --git a/geekigeeki.py b/geekigeeki.py index 7fa7982..07365fd 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -225,7 +225,8 @@ def link_inline(name, descr=None, kvargs={}): elif image_re.match(name): return '%s' % (url, url + url_args(kvargs), descr) elif file_re.match(name) and not ext_re.search(name): # FIXME: this guesses a wiki page - return Page(name).send_naked(kvargs) + Page(name).send_naked(kvargs) # FIXME: we should return the page as a string rather than print it + return '' else: return '' \ % (url, url, name)