diff options
author | June McEnroe <june@causal.agency> | 2020-04-25 15:20:41 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-25 15:20:41 -0400 |
commit | 82a526badec7c6afe2937b84bed78883bf329bfb (patch) | |
tree | cc0f7c200a7cde831d883d89ac43c77dea6203f3 | |
parent | Accumulate thread envelopes before concatenation (diff) | |
download | bubger-82a526badec7c6afe2937b84bed78883bf329bfb.tar.gz bubger-82a526badec7c6afe2937b84bed78883bf329bfb.zip |
Wrap <summary> replies count in <data>
Diffstat (limited to '')
-rw-r--r-- | html.c | 6 |
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]; |