about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--default.html7
-rw-r--r--html.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/default.html b/default.html
index fefc9c7..7059e61 100644
--- a/default.html
+++ b/default.html
@@ -70,6 +70,13 @@ ul.recipient li:not(:last-child)::after {
 	content: ', ';
 	margin-right: 1ch;
 }
+ul.recipient li.group > address::after {
+	content: ': ';
+}
+ul.recipient li.group::after {
+	content: '; ';
+	margin-right: 1ch;
+}
 address.from::before {
 	content: 'From: ';
 }
diff --git a/html.c b/html.c
index ff08357..bdbc59c 100644
--- a/html.c
+++ b/html.c
@@ -31,9 +31,9 @@ static int htmlAddress(FILE *file, const char *class, struct Address addr) {
 		);
 	} else if (addr.mailbox) {
 		template = TEMPLATE(
-			<li>
-				<address class="[class] group">[mailbox]</address>
-				<ul class="group">
+			<li class="group">
+				<address class="[class]">[mailbox]</address>
+				<ul>
 		);
 	} else {
 		template = TEMPLATE(