summary refs log tree commit diff
path: root/export.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-12 11:18:06 -0400
committerJune McEnroe <june@causal.agency>2020-04-12 11:20:31 -0400
commita105ca383bfd94eade07f957a6c9df3dc60de3f8 (patch)
tree53bc33a59d0447ae011cf1ec3e79f5413edbf63b /export.c
parentUse Message-Id in mailto Atom IDs (diff)
downloadbubger-a105ca383bfd94eade07f957a6c9df3dc60de3f8.tar.gz
bubger-a105ca383bfd94eade07f957a6c9df3dc60de3f8.zip
Do not use <h1> for subject lines
Diffstat (limited to '')
-rw-r--r--export.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/export.c b/export.c
index dcd6b18..0f35602 100644
--- a/export.c
+++ b/export.c
@@ -127,7 +127,8 @@ void exportData(struct List items) {
 	path = uidPath(uid, "html");
 	file = fopen(path, "w");
 	if (!file) err(EX_CANTCREAT, "%s", path);
-	error = htmlEnvelope(file, &envelope)
+	error = htmlMessageHead(file, &envelope)
+		|| htmlMessageTail(file)
 		|| fclose(file);
 	if (error) err(EX_IOERR, "%s", path);