idiotbox-c

youtube web application in C
git clone git://git.codemadness.org/idiotbox-c
Log | Files | Refs | README | LICENSE

commit 1dffbfd415cf85f123981c13925a3a3b0f400661
parent d016bbde1588d11a86af7a97ea61d38eb7778aba
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 28 Jun 2018 20:36:20 +0200

improve HTML

Diffstat:
main.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.c b/main.c @@ -784,7 +784,7 @@ render(void) printf("\" accesskey=\"%d\">", i); xmlencode(videos[i].title); OUT( - "</a></span><br/>" + "</a></span><br/>\n" " <span class=\"channel\" title=\""); xmlencode(videos[i].channeltitle); OUT(" RSS/Atom feed\"><a href=\"https://www.youtube.com/feeds/videos.xml?channel_id="); @@ -824,7 +824,7 @@ render(void) if (prevpagetoken[0] || nextpagetoken[0]) { OUT( "<tfoot>\n" - " <tr>\n" + "<tr>\n" " <td align=\"left\" class=\"nowrap\" nowrap>\n"); if (prevpagetoken[0]) { OUT("<a href=\"?q="); @@ -838,7 +838,7 @@ render(void) OUT("\" rel=\"prev nofollow\" accesskey=\"p\">&larr; prev</a>\n"); } OUT( - "</td>\n\t<td></td>\n" + "\t</td>\n\t<td></td>\n" "\t<td align=\"right\" nowrap class=\"a-r nowrap\">\n"); if (nextpagetoken[0]) { OUT("<a href=\"?q=");