* [PATCH] more validation fixes (passes xhtml strict)
@ 2012-09-17 14:54 william.bell
0 siblings, 0 replies; only message in thread
From: william.bell @ 2012-09-17 14:54 UTC (permalink / raw)
From b01e90b891a41dc0df808cfa88caf56f94978257 Mon Sep 17 00:00:00 2001
From: William Bell <william.bell at frog.za.net>
Date: Mon, 17 Sep 2012 16:40:21 +0200
Subject: [PATCH] validation
---
ui-diff.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui-diff.c b/ui-diff.c
index 0922217..a79e451 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -105,7 +105,7 @@ static void print_fileinfo(struct fileinfo *info)
}
html("</td><td class='right'>");
if (info->binary) {
- htmlf("bin</td><td class='graph'>%ld -> %ld bytes",
+ htmlf("bin</td><td class='graph'>%ld -> %ld bytes</td></tr>",
info->old_size, info->new_size);
return;
}
@@ -314,7 +314,7 @@ void cgit_print_diff_ctrls()
html("<b>diff options</b>");
html("<form method='get' action='.'><p>");
cgit_add_hidden_formfields(1, 0, ctx.qry.page);
- html("<table>");
+ html("</p><table>");
html("<tr><td colspan='2'/></tr>");
html("<tr>");
html("<td class='label'>context:</td>");
@@ -346,9 +346,9 @@ void cgit_print_diff_ctrls()
html_intoption(1, "ssdiff", curr);
html("</select></td></tr>");
html("<tr><td/><td class='ctrl'>");
- html("<noscript><input type='submit' value='reload'/></noscript>");
+ html("<noscript><p><input type='submit'
value='reload'/></p></noscript>");
html("</td></tr></table>");
- html("</p></form>");
+ html("</form>");
html("</div>");
}
--
1.7.9.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-17 14:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-17 14:54 [PATCH] more validation fixes (passes xhtml strict) william.bell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).