diff -r 2cb7fdd2ba18 -r 7e099403e5b0 src/html.cpp
--- a/src/html.cpp Mon May 19 13:30:18 2025 +0200
+++ b/src/html.cpp Mon May 19 13:58:19 2025 +0200
@@ -134,9 +134,21 @@
}
}
+void html::chart_begin(const std::string& repo, const std::string& author) {
+ indent();
+ printf("
\n",
+ encode(repo).c_str(), encode(author).c_str());
+ indentation++;
+}
+
+void html::chart_end() {
+ indent(-1);
+ puts("
");
+}
+
void html::heading_repo(const std::string& repo) {
indent();
- printf("%s
\n", encode(repo).c_str());
+ printf("%1$s
\n", encode(repo).c_str());
}
void html::heading_author(const std::string& author, unsigned int total_commits) {
@@ -179,8 +191,7 @@
}
void html::table_end() {
- indentation--;
- indent();
+ indent(-1);
puts("");
}