From 4e1ebf231d757ce8887705fe2a271c68a2eed1e4 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sat, 11 Apr 2009 16:29:12 +0200 Subject: [PATCH] Fixup a few errors in the HTML output --- geekigeeki.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/geekigeeki.py b/geekigeeki.py index 3eb4c1a..f6ba26c 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -78,7 +78,7 @@ def relative_url(pathname, privileged=False): else: url = script_name() pathname = url + '/' + pathname - return pathname + return cgi.escape(pathname, quote=True) def permalink(s): return re.sub(' ', '-', re.sub('[^a-z0-9_ ]', '', s.lower()).strip()) @@ -143,7 +143,7 @@ def send_title(name, text="Limbo", msg_text=None, msg_type='error', writable=Fal # Navbar print '