commit - 9cb2f6aa783710727e8c5ac176b8416a700cd108
commit + 2559d2039ba8660781113a3f50bca0f016be7795
blob - 64774a387b4d1b8e4dc9db4eccd9de7a79052a91
blob + cf7fea15b6c961d6384c7c35149669d76376bf7d
--- stagit-index.c
+++ stagit-index.c
"<title>", fp);
xmlencode(fp, description, strlen(description));
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
- fprintf("<style>*{box-sizing:border-box;}body{font-family:sans-serif;font-size:14px;margin:1rem auto;max-width:800px;}h1{margin:0;}table{width:100%;}table#log tbody > tr td:first-of-type{min-width:120px;}pre#blob{overflow:scroll;}</style>", fp);
+ fprintf(fp, "%s", "<style>*{box-sizing:border-box;}body{font-family:sans-serif;font-size:14px;margin:1rem auto;max-width:800px;}h1{margin:0;}table{width:100%;}table#log tbody > tr td:first-of-type{min-width:120px;}pre#blob{overflow:scroll;}</style>");
fputs("</head>\n<body>\n", fp);
- fprintf(fp, "<table>\n<tr><td><span class=\"desc\">", relpath);
+ fprintf(fp, "%s", "<table>\n<tr><td><span class=\"desc\">");
xmlencode(fp, description, strlen(description));
fputs("</span></td></tr></table>\n<hr/>\n"
"<div id=\"content\">\n"
blob - bdb9f96b35f2d2669779b3f0fb569743cec0ad61
blob + a6b3eb31bcd0ca73ca791189bee699c2888d59ca
--- stagit.c
+++ stagit.c
fputs("<link rel=\"alternate\" type=\"application/atom+xml\" title=\"", fp);
xmlencode(fp, name, strlen(name));
fprintf(fp, " Atom Feed (tags)\" href=\"%stags.xml\" />\n", relpath);
- fprintf("<style>*{box-sizing:border-box;}body{font-family:sans-serif;font-size:14px;margin:1rem auto;max-width:800px;}h1{margin:0;}table{width:100%;}table#log tbody > tr td:first-of-type{min-width:120px;}pre#blob{overflow:scroll;}</style>", fp);
+ fprintf(fp, "%s", "<style>*{box-sizing:border-box;}body{font-family:sans-serif;font-size:14px;margin:1rem auto;max-width:800px;}h1{margin:0;}table{width:100%;}table#log tbody > tr td:first-of-type{min-width:120px;}pre#blob{overflow:scroll;}</style>");
fputs("</head>\n<body>\n<table>", fp);
fputs("<tr><td><h1>", fp);
xmlencode(fp, strippedname, strlen(strippedname));