diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Drop the XHTML slashes and boolean spellings
Diffstat (limited to '')
| -rw-r--r-- | source/ui-diff.c | 14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 7 insertions, 7 deletions
diff --git a/source/ui-diff.c b/source/ui-diff.c index 6b6b30f..98bccfe 100644 --- a/source/ui-diff.c +++ b/source/ui-diff.c @@ -246,15 +246,15 @@ static void print_file_header(const struct object_id *old_oid, char *old_path, html_txt(new_path); if (old_mode == 0) - htmlf("<br/>new file mode %.6o", new_mode); + htmlf("<br>new file mode %.6o", new_mode); if (new_mode == 0) - htmlf("<br/>deleted file mode %.6o", old_mode); + htmlf("<br>deleted file mode %.6o", old_mode); if (!subproject) { old_abbrev = abbrev_oid(old_oid); new_abbrev = abbrev_oid(new_oid); - htmlf("<br/>index %s..%s", old_abbrev, new_abbrev); + htmlf("<br>index %s..%s", old_abbrev, new_abbrev); free(old_abbrev); free(new_abbrev); if (old_mode != 0 && new_mode != 0) { @@ -264,9 +264,9 @@ static void print_file_header(const struct object_id *old_oid, char *old_path, } if (is_null_oid(old_oid)) { old_path = "dev/null"; - html("<br/>--- /"); + html("<br>--- /"); } else - html("<br/>--- a/"); + html("<br>--- a/"); if (old_mode != 0) cgit_tree_link(old_path, NULL, NULL, ctx.qry.head, oid_to_hex(old_rev_oid), old_path); @@ -274,9 +274,9 @@ static void print_file_header(const struct object_id *old_oid, char *old_path, html_txt(old_path); if (is_null_oid(new_oid)) { new_path = "dev/null"; - html("<br/>+++ /"); + html("<br>+++ /"); } else - html("<br/>+++ b/"); + html("<br>+++ b/"); if (new_mode != 0) cgit_tree_link(new_path, NULL, NULL, ctx.qry.head, oid_to_hex(new_rev_oid), new_path); |
