diff options
author | June McEnroe <june@causal.agency> | 2020-04-12 11:18:06 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-12 11:20:31 -0400 |
commit | a105ca383bfd94eade07f957a6c9df3dc60de3f8 (patch) | |
tree | 53bc33a59d0447ae011cf1ec3e79f5413edbf63b /export.c | |
parent | Use Message-Id in mailto Atom IDs (diff) | |
download | bubger-a105ca383bfd94eade07f957a6c9df3dc60de3f8.tar.gz bubger-a105ca383bfd94eade07f957a6c9df3dc60de3f8.zip |
Do not use <h1> for subject lines
Diffstat (limited to '')
-rw-r--r-- | export.c | 3 |
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); |