Fri Jul 1 20:01:39 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Fix several html tags to pass w3c's validator.
{
hunk ./darcsweb.cgi 66
- print string.join(params), '<br>'
+ print string.join(params), '<br/>'
hunk ./darcsweb.cgi 199
-<link rel="stylesheet" type="text/css" href="%(css)s">
+<link rel="stylesheet" type="text/css" href="%(css)s"/>
hunk ./darcsweb.cgi 202
-<link rel="shortcut icon" href="%(fav)s">
-<link rel="icon" href="%(fav)s">
+<link rel="shortcut icon" href="%(fav)s"/>
+<link rel="icon" href="%(fav)s"/>
hunk ./darcsweb.cgi 208
-<a href=http://darcs.net title="darcs">
-<img src="%(logo)s" alt="darcs logo" style="float:right; border-width:0px;">
+<a href="http://darcs.net" title="darcs">
+<img src="%(logo)s" alt="darcs logo" style="float:right; border-width:0px;"/>
hunk ./darcsweb.cgi 232
- print '<a class=rss_logo href="%s;a=rss">RSS</a>' % \
+ print '<a class="rss_logo" href="%s;a=rss">RSS</a>' % \
hunk ./darcsweb.cgi 271
- print '<br><br></div>'
+ print '<br/><br/></div>'
hunk ./darcsweb.cgi 531
- print '<div><a class=title href="%s;a=shortlog">shortlog</a></div>' \
+ print '<div><a class="title" href="%s;a=shortlog">shortlog</a></div>' \
hunk ./darcsweb.cgi 533
- print '<table cellspacing=0>'
+ print '<table cellspacing="0">'
hunk ./darcsweb.cgi 572
- print '<td><a href="%s;a=shortlog;topi=%d">...</a></td>' % \
- (config.myreponame, topi + last)
+ print """
+<tr><td>
+ <a href="%s;a=shortlog;topi=%d">...</a>
+</td></tr>
+ """ % (config.myreponame, topi + last)
hunk ./darcsweb.cgi 588
- print '<p><a href="%s;a=log;topi=%d"><- Prev</a><p>' % \
+ print '<p/><a href="%s;a=log;topi=%d"><- Prev</a><p/>' % \
hunk ./darcsweb.cgi 593
- fmt_comment = p.comment.replace('\n', '<br>') + '\n'
- fmt_comment += '<br><br>'
+ fmt_comment = p.comment.replace('\n', '<br/>') + '\n'
+ fmt_comment += '<br/><br/>'
hunk ./darcsweb.cgi 598
-<div><a class=title href="%(myreponame)s;a=commit;h=%(hash)s">
- <span class=age>%(age)s</span>%(desc)s
+<div><a class="title" href="%(myreponame)s;a=commit;h=%(hash)s">
+ <span class="age">%(age)s</span>%(desc)s
hunk ./darcsweb.cgi 601
-<div class=title_text>
- <div class=log_link>
+<div class="title_text">
+ <div class="log_link">
hunk ./darcsweb.cgi 604
- <a href="%(myreponame)s;a=commitdiff;h=%(hash)s">commitdiff</a><br>
+ <a href="%(myreponame)s;a=commitdiff;h=%(hash)s">commitdiff</a><br/>
hunk ./darcsweb.cgi 606
- <i>%(author)s [%(date)s]</i><br>
+ <i>%(author)s [%(date)s]</i><br/>
hunk ./darcsweb.cgi 609
- %(desc)s<br>
- <br>
+ %(desc)s<br/>
+ <br/>
hunk ./darcsweb.cgi 620
- 'desc': shorten_str(p.name),
- 'comment': fmt_comment
+ 'desc': escape(p.name),
+ 'comment': escape(fmt_comment)
hunk ./darcsweb.cgi 626
- print '<p><a href="%s;a=log;topi=%d">Next -></a><p>' % \
+ print '<p><a href="%s;a=log;topi=%d">Next -></a></p>' % \
hunk ./darcsweb.cgi 631
- print '<div class=page_path><b>%s</b></div>' % fname
- print '<div class=page_body>'
+ print '<div class="page_path"><b>%s</b></div>' % fname
+ print '<div class="page_body">'
hunk ./darcsweb.cgi 647
- print """
-<div class=pre><a id="l%(c)d" href="#l%(c)d" class=linenr>%(c)4d</a> %(l)s</div>
+ print """\
+<div class="pre">\
+<a id="l%(c)d" href="#l%(c)d" class="linenr">%(c)4d</a> %(l)s\
+</div>
hunk ./darcsweb.cgi 672
- print '<div class=title> </div>'
- print '<table cellspacing=0>'
+ print '<div class="title"> </div>'
+ print '<table cellspacing="0">'
hunk ./darcsweb.cgi 675
- print ' <tr><td>owner</td><td>%s</td></tr>' % owner
+ print ' <tr><td>owner</td><td>%s</td></tr>' % escape(owner)
hunk ./darcsweb.cgi 692
- <a class=title href="%(myreponame)s;a=commit;h=%(hash)s">%(name)s</a>
+ <a class="title" href="%(myreponame)s;a=commit;h=%(hash)s">%(name)s</a>
hunk ./darcsweb.cgi 711
- <a class=title href="%(myreponame)s;a=commit;h=%(hash)s">
+ <a class="title" href="%(myreponame)s;a=commit;h=%(hash)s">
hunk ./darcsweb.cgi 732
- <a class=title href="%(myreponame)s;a=commit;h=%(hash)s">%(name)s</a>
+ <a class="title" href="%(myreponame)s;a=commit;h=%(hash)s">%(name)s</a>
hunk ./darcsweb.cgi 753
- <a class=title href="%(myreponame)s;a=commit;h=%(hash)s">
+ <a class="title" href="%(myreponame)s;a=commit;h=%(hash)s">
hunk ./darcsweb.cgi 782
- <a class=title href="%(myreponame)s;a=commitdiff;h=%(hash)s">%(name)s</a>
+ <a class="title" href="%(myreponame)s;a=commitdiff;h=%(hash)s">%(name)s</a>
hunk ./darcsweb.cgi 785
-<div class=title_text>
-<table cellspacing=0>
+<div class="title_text">
+<table cellspacing="0">
hunk ./darcsweb.cgi 802
- c = p.comment.replace('\n', '<br>')
- print '<div class=page_body>', c, '</div>'
+ c = p.comment.replace('\n', '<br/>')
+ print '<div class="page_body">', c, '</div>'
hunk ./darcsweb.cgi 810
- print '<div class=list_head>%d file(s) changed:</div>' % n
+ print '<div class="list_head">%d file(s) changed:</div>' % n
hunk ./darcsweb.cgi 812
- print '<table cellspacing=0>'
+ print '<table cellspacing="0">'
hunk ./darcsweb.cgi 831
- <a class=list href="%(myreponame)s;a=filediff;h=%(hash)s;f=%(file)s">
+ <a class="list" href="%(myreponame)s;a=filediff;h=%(hash)s;f=%(file)s">
hunk ./darcsweb.cgi 875
-<td>
- <a class=link href="%(myreponame)s;a=filediff;h=%(hash)s;f=%(file)s">diff
-</td>
+<td><a class="link" href="%(myreponame)s;a=filediff;h=%(hash)s;f=%(file)s">
+ diff
+</a></td>
hunk ./darcsweb.cgi 894
-<div><a class=title href="%s;a=tree">Current tree</a></div>
+<div><a class="title" href="%s;a=tree">Current tree</a></div>
hunk ./darcsweb.cgi 942
- <td><a class=list href="%(myrname)s;a=tree;f=%(newf)s">%(f)s</a></td>
- <td><a class=link href="%(myrname)s;a=tree;f=%(newf)s">tree</a></td>
+ <td><a class="list" href="%(myrname)s;a=tree;f=%(newf)s">%(f)s</a></td>
+ <td><a class="link" href="%(myrname)s;a=tree;f=%(newf)s">tree</a></td>
hunk ./darcsweb.cgi 951
- <td><a class=list href="%(myrname)s;a=headblob;f=%(fullf)s">%(f)s</a></td>
- <td><a class=link href="%(myrname)s;a=headblob;f=%(fullf)s">headblob</a></td>
+ <td><a class="list" href="%(myrname)s;a=headblob;f=%(fullf)s">%(f)s</a></td>
+ <td><a class="link" href="%(myrname)s;a=headblob;f=%(fullf)s">headblob</a></td>
hunk ./darcsweb.cgi 968
- <div class=title><b>
+ <div class="title"><b>
hunk ./darcsweb.cgi 1046
- print escape(p.name) + '<br>'
+ print escape(p.name) + '<br/>'
hunk ./darcsweb.cgi 1048
- print '<br>'
- print escape(p.comment).replace('\n', '<br>\n')
+ print '<br/>'
+ print escape(p.comment).replace('\n', '<br/>\n')
hunk ./darcsweb.cgi 1077
-<link rel="stylesheet" type="text/css" href="%(css)s">
-<link rel="shortcut icon" href="%(fav)s">
-<link rel="icon" href="%(fav)s">
+<link rel="stylesheet" type="text/css" href="%(css)s"/>
+<link rel="shortcut icon" href="%(fav)s"/>
+<link rel="icon" href="%(fav)s"/>
hunk ./darcsweb.cgi 1084
-<a href=http://darcs.net title="darcs">
-<img src="%(logo)s" alt="darcs logo" style="float:right; border-width:0px;">
+<a href="http://darcs.net" title="darcs">
+<img src="%(logo)s" alt="darcs logo" style="float:right; border-width:0px;"/>
hunk ./darcsweb.cgi 1090
-This is the repository index for a darcsweb site.<br>
-These are all the available repositories.<br>
+This is the repository index for a darcsweb site.<br/>
+These are all the available repositories.<br/>
hunk ./darcsweb.cgi 1121
-<td><a class=list href=%(myname)s?r=%(name)s;a=summary>%(name)s</a></td>
+<td><a class="list" href="%(myname)s?r=%(name)s;a=summary">%(name)s</a></td>
hunk ./darcsweb.cgi 1123
-<td class=link><a href=%(myname)s?r=%(name)s;a=summary>summary</a> |
-<a href=%(myname)s?r=%(name)s;a=shortlog>shortlog</a> |
-<a href=%(myname)s?r=%(name)s;a=log>log</a> |
-<a href=%(myname)s?r=%(name)s;a=tree>tree</a>
+<td class="link"><a href="%(myname)s?r=%(name)s;a=summary">summary</a> |
+<a href="%(myname)s?r=%(name)s;a=shortlog">shortlog</a> |
+<a href="%(myname)s?r=%(name)s;a=log">log</a> |
+<a href="%(myname)s?r=%(name)s;a=tree">tree</a>
}