summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/html.c b/html.c
index 7281ac3..0d1ae11 100644
--- a/html.c
+++ b/html.c
@@ -372,7 +372,11 @@ static size_t threadCount(struct List thread) {
 int htmlSubthreadOpen(FILE *file, struct List thread) {
 	const char *template = TEMPLATE(
 		<details class="subthread" open>
-			<summary>[replies] repl[ies]</summary>
+		<summary>
+	) TEMPLATE(
+		<data class="replies" value="[replies]">[replies] repl[ies]</data>
+	) TEMPLATE(
+		</summary>
 	);
 	size_t count = threadCount(thread);
 	char replies[32];