summary refs log tree commit diff
path: root/concat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-15 20:25:26 -0400
committerJune McEnroe <june@causal.agency>2020-04-15 20:25:26 -0400
commit2c222f14103a1c3b6e29ad5fcd84e92594665dbe (patch)
treea7d4f6f829b954210a28740f8bb95f3ee6ff6c80 /concat.c
parentRewrite HTML rendering (diff)
downloadbubger-2c222f14103a1c3b6e29ad5fcd84e92594665dbe.tar.gz
bubger-2c222f14103a1c3b6e29ad5fcd84e92594665dbe.zip
Wrap subthreads in <details> with reply count
Diffstat (limited to '')
-rw-r--r--concat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/concat.c b/concat.c
index 04d2e27..94f9bed 100644
--- a/concat.c
+++ b/concat.c
@@ -81,7 +81,7 @@ static int concatHTML(FILE *file, struct List thread) {
 	for (size_t i = 0; i < thread.len; ++i) {
 		if (thread.ptr[i].type == List) {
 			error = 0
-				|| htmlSubthreadOpen(file)
+				|| htmlSubthreadOpen(file, thread.ptr[i].list)
 				|| concatHTML(file, thread.ptr[i].list)
 				|| htmlSubthreadClose(file);
 		} else {