Fossil SCM

Correct the closing tag on the DETAILS element added in the previous check-in.

stephan 2026-06-04 16:58 UTC attach-v2
Commit 5e748a00bef4af8f5eb3f65db8e4bcd76c2bcb7f88fbc3c8ebdc795b7b46fc5c
2 files changed +5 -1 +1 -1
+5 -1
--- src/attach.c
+++ src/attach.c
@@ -1413,11 +1413,15 @@
14131413
moderation_pending_www(aid);
14141414
@ </li>
14151415
}
14161416
if( cnt ){
14171417
@ </ul>
1418
- @ </section>
1418
+ if( bUseDetail ){
1419
+ @ </details>
1420
+ }else{
1421
+ @ </section>
1422
+ }
14191423
}
14201424
db_finalize(&q);
14211425
}
14221426
14231427
/*
14241428
--- src/attach.c
+++ src/attach.c
@@ -1413,11 +1413,15 @@
1413 moderation_pending_www(aid);
1414 @ </li>
1415 }
1416 if( cnt ){
1417 @ </ul>
1418 @ </section>
 
 
 
 
1419 }
1420 db_finalize(&q);
1421 }
1422
1423 /*
1424
--- src/attach.c
+++ src/attach.c
@@ -1413,11 +1413,15 @@
1413 moderation_pending_www(aid);
1414 @ </li>
1415 }
1416 if( cnt ){
1417 @ </ul>
1418 if( bUseDetail ){
1419 @ </details>
1420 }else{
1421 @ </section>
1422 }
1423 }
1424 db_finalize(&q);
1425 }
1426
1427 /*
1428
+1 -1
--- src/forum.c
+++ src/forum.c
@@ -1046,11 +1046,11 @@
10461046
** Renders the attachment list for the given forum post.
10471047
** Emits no output if there are no attachments.
10481048
*/
10491049
static void forum_render_attachment_list(const char *zUuid){
10501050
#if 1
1051
- attachment_list(zUuid, "&#128206; Attachments", 0
1051
+ attachment_list(zUuid, "&#x1f4ce; Attachments", 0
10521052
| ATTACHLIST_SIZE
10531053
| ATTACHLIST_HIDE_UNAPPROVED
10541054
| ATTACHLIST_DETAILS_CLOSED);
10551055
#else
10561056
char * zLbl = mprintf("<a href='%R/attachlist?forumpost=%!S'>"
10571057
--- src/forum.c
+++ src/forum.c
@@ -1046,11 +1046,11 @@
1046 ** Renders the attachment list for the given forum post.
1047 ** Emits no output if there are no attachments.
1048 */
1049 static void forum_render_attachment_list(const char *zUuid){
1050 #if 1
1051 attachment_list(zUuid, "&#128206; Attachments", 0
1052 | ATTACHLIST_SIZE
1053 | ATTACHLIST_HIDE_UNAPPROVED
1054 | ATTACHLIST_DETAILS_CLOSED);
1055 #else
1056 char * zLbl = mprintf("<a href='%R/attachlist?forumpost=%!S'>"
1057
--- src/forum.c
+++ src/forum.c
@@ -1046,11 +1046,11 @@
1046 ** Renders the attachment list for the given forum post.
1047 ** Emits no output if there are no attachments.
1048 */
1049 static void forum_render_attachment_list(const char *zUuid){
1050 #if 1
1051 attachment_list(zUuid, "&#x1f4ce; Attachments", 0
1052 | ATTACHLIST_SIZE
1053 | ATTACHLIST_HIDE_UNAPPROVED
1054 | ATTACHLIST_DETAILS_CLOSED);
1055 #else
1056 char * zLbl = mprintf("<a href='%R/attachlist?forumpost=%!S'>"
1057

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button