From: Bernie Innocenti Date: Fri, 20 Nov 2009 07:44:29 +0000 (-0500) Subject: HTML5 fixes X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9849325bbb69e2dca234fa3f3bed07e2299e5ef3;p=geekigeeki.git HTML5 fixes --- diff --git a/geekigeeki.py b/geekigeeki.py index e7d7f7d..b8e4a7b 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -127,14 +127,11 @@ def send_title(name, text="Limbo", msg_text=None, msg_type='error', writable=Fal global title_done if title_done: return - # Head + # HEAD emit_header(mtime) - print('') - print('') - + print('\n') print("%s: %s" % (config_get('site_name', "Unconfigured Wiki"), text)) - print(' ') + print(' ') if not name: print(' ') @@ -157,7 +154,7 @@ def send_title(name, text="Limbo", msg_text=None, msg_type='error', writable=Fal print('') - # Body + # BODY if editable: print('') else: @@ -166,8 +163,8 @@ def send_title(name, text="Limbo", msg_text=None, msg_type='error', writable=Fal title_done = True send_guru(msg_text, msg_type) - # Navbar - print('') def send_httperror(status="403 Not Found", query=""): print("Status: %s" % status) @@ -205,7 +202,7 @@ def link_tag(dest, text=None, privileged=False, **kvargs): if text is None: text = humanlink(dest) elif image_re.match(text): - text = '' + text + '' + text = '' + text + '' link_class = kvargs.get('class', kvargs.get('cssclass', None)) if not link_class: