about summary refs log tree commit diff
diff options
context:
space:
mode:
-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];
23&follow=1'>Set LESSSECURE=1 in man.shJune McEnroe Ridiculous. 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe