Fri Jul 1 20:01:39 UTC 2005 Alberto Bertogli * Fix several html tags to pass w3c's validator. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2016-01-03 13:29:11.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2016-01-03 13:29:11.000000000 +0000 @@ -63,7 +63,7 @@ def printd(*params): - print string.join(params), '
' + print string.join(params), '
' # I _hate_ this. @@ -196,17 +196,17 @@ darcs - %(reponame)s - + - - + + """ if put_rss: - print '' % \ + print '' % \ (config.myurl + '/' + config.myreponame) print "\n\n" @@ -268,7 +268,7 @@ | headfilediff """ % { "myreponame": config.myreponame, 'hash': h, 'fname': f } - print '

' + print '

' def print_plain_header(): @@ -528,9 +528,9 @@ def print_shortlog(last = 50, topi = 0): ps = get_last_patches(last, topi) - print '
shortlog
' \ + print '
shortlog
' \ % config.myreponame - print '' + print '
' if topi != 0: # put a link to the previous page @@ -569,8 +569,11 @@ if len(ps) >= last: # only show if we've not shown them all already - print '' % \ - (config.myreponame, topi + last) + print """ + + """ % (config.myreponame, topi + last) print "
...
+ ... +
" @@ -582,29 +585,29 @@ ntopi = topi - last if ntopi < 0: ntopi = 0 - print '

<- Prev

' % \ + print '

<- Prev

' % \ (config.myreponame, ntopi) for p in ps: if p.comment: - fmt_comment = p.comment.replace('\n', '
') + '\n' - fmt_comment += '

' + fmt_comment = p.comment.replace('\n', '
') + '\n' + fmt_comment += '

' else: fmt_comment = '' print """ -

- %(age)s%(desc)s +
+ %(age)s%(desc)s
-
-