List for cgit developers and users
 help / color / mirror / Atom feed
From: william.bell at frog.za.net (William Bell)
Subject: [PATCH] more validation fixes (passes xhtml strict)
Date: Mon, 17 Sep 2012 16:54:55 +0200	[thread overview]
Message-ID: <505739BF.7030204@frog.za.net> (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





                 reply	other threads:[~2012-09-17 14:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=505739BF.7030204@frog.za.net \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).