From 8572b870b28b6ecaba354ab47a4dc016ad889c03 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Wed, 19 Aug 2009 12:03:18 +0200 Subject: [PATCH] Fix inlining of other wiki pages --- geekigeeki.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.25.1