From: Bernie Innocenti Date: Sat, 11 Apr 2009 14:29:12 +0000 (+0200) Subject: Fixup a few errors in the HTML output X-Git-Tag: v4.0~9^2~1 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4e1ebf231d757ce8887705fe2a271c68a2eed1e4;p=geekigeeki.git Fixup a few errors in the HTML output --- 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 '