From 8d05b398bb1f4effcb59dddc62a3ea1f021f8631 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Wed, 11 May 2016 18:04:14 +0000 Subject: ui-shared: HTML-ize DOCTYPE and Get rid of the XHTML headers, bringing cgit slowly to the modern age of HTML. --- ui-shared.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui-shared.c b/ui-shared.c index bf92747..1529ff1 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -12,8 +12,7 @@ #include "html.h" static const char cgit_doctype[] = -"\n"; +"\n"; static char *http_date(time_t t) { @@ -723,7 +722,7 @@ void cgit_print_docstart(void) char *host = cgit_hosturl(); html(cgit_doctype); - html("\n"); + html("\n"); html("\n"); html(""); html_txt(ctx.page.title); -- cgit 1.4.1 144d32f55c35e8b7b3'>refs</a> <a class='active' href='/src/log/bin/gfxx.c?follow=1'>log</a> <a href='/src/tree/bin/gfxx.c?id=c9148b7493446201c4c76d144d32f55c35e8b7b3'>tree</a> <a href='/src/commit/bin/gfxx.c?id=c9148b7493446201c4c76d144d32f55c35e8b7b3&follow=1'>commit</a> <a href='/src/diff/bin/gfxx.c?id=c9148b7493446201c4c76d144d32f55c35e8b7b3&follow=1'>diff</a></td><td class='form'><form class='right' method='get' action='/src/log/bin/gfxx.c'> <input type='hidden' name='id' value='c9148b7493446201c4c76d144d32f55c35e8b7b3'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/src/log/?id=c9148b7493446201c4c76d144d32f55c35e8b7b3&follow=1'>root</a>/<a href='/src/log/bin?id=c9148b7493446201c4c76d144d32f55c35e8b7b3&follow=1'>bin</a>/<a href='/src/log/bin/gfxx.c?id=c9148b7493446201c4c76d144d32f55c35e8b7b3&follow=1'>gfxx.c</a> (<a href='/src/log/bin/gfxx.c?id=c9148b7493446201c4c76d144d32f55c35e8b7b3'>unfollow</a>)</div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/src/log/bin/gfxx.c?id=c9148b7493446201c4c76d144d32f55c35e8b7b3&showmsg=1&follow=1'>Expand</a>)</th><th class='left'>Author</th></tr> <tr><td><span title='2019-02-08 21:32:09 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/man1/hi.1?id=9b9f8ce95493c7fc192a7f1c5242648d10a6412b&follow=1'>Add sh syntax to hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-08 21:05:38 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/hi.c?id=744ab54cf1833d9225ca3762493f748ab1fee619&follow=1'>Use [] to quote special characters in regex</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-08 17:59:31 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/man1/hi.1?id=620ecccda17a4a8adb01583cc0a1571c47157bf4&follow=1'>Improve ANSI output and base IRC on it</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-08 16:32:51 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/man1/hi.1?id=5e96c5f7d329a979aa36e5c66d9affe529ea852d&follow=1'>Add hi -n</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-08 16:24:25 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/man1/hi.1?id=d3f65a22f1df47f054d08ab7297c09d76392e54a&follow=1'>Elaborate hi man page</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-08 16:10:44 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/hi.c?id=ae7c063d13dac0843e353e56efe3865dafff1ed0&follow=1'>Use set for parent in hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-08 01:35:14 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/hi.c?id=e812d25b7c37c53f9c4740c0078db24bf5974feb&follow=1'>Switch back to semantic keyword grouping in hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-08 00:42:41 -0500'>2019-02-08</span></td><td><a href='/src/commit/bin/hi.c?id=49daadea24808f007fbd2fe46ac537cb38705b07&follow=1'>Match only the basename in hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 22:45:00 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/man1/hi.1?id=8081f57a424ab5725dd31cd83eb9d1c05c7ad036&follow=1'>Add mdoc syntax to hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 21:28:56 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/hi.c?id=34a1b540f6ff1c917180d084b4a1e86790a43ff2&follow=1'>Support multi-line C macros in hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 21:25:53 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/hi.c?id=75dbab368bcbb6ed484e4d8ca9e6b3e1b3988b2d&follow=1'>Detect .mk files as make</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 21:22:14 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/man1/hi.1?id=23cf39d6af6130b830399a939b90e34bebc63c6e&follow=1'>Add make syntax to hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 18:29:38 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/man1/hi.1?id=77a2ba8c09ee4421b42cdc7f41e6145759731f71&follow=1'>Add IRC output to hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 15:41:11 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/hi.c?id=843727014b46c16dab5244549786c1f791b7e244&follow=1'>Improve C syntax accuracy and add Format class</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 12:55:31 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/hi.c?id=22b87208f68956ab91c262f9b6433ed92d44f2f7&follow=1'>Factor out hi check</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 03:33:56 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/hi.c?id=236b75da9993417c3d86a10ab47497c484c29b13&follow=1'>Add Escape class to hi</a></td><td>June McEnroe</td></tr> <tr><td><span title='2019-02-07 03:01:43 -0500'>2019-02-07</span></td><td><a href='/src/commit/bin/hi.c?id=44bd8403e558e3e9cfe059dcbf548585362034e5&follow=1'>Add Todo class and parent syntax constraint</a></td><td>June McEnroe