diff options
author | June McEnroe <june@causal.agency> | 2020-04-22 14:22:18 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-22 14:22:18 -0400 |
commit | ddb774820edb0aa1358152ab82bfb22920f6c870 (patch) | |
tree | 23e9e257a7af34c3ccfee619976b62bf687d5867 /export.c | |
parent | Remove HTML inline TODOs (diff) | |
download | bubger-ddb774820edb0aa1358152ab82bfb22920f6c870.tar.gz bubger-ddb774820edb0aa1358152ab82bfb22920f6c870.zip |
Make sure to close attachment <ul> at end of multipart
Diffstat (limited to '')
-rw-r--r-- | export.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/export.c b/export.c index 799bd7c..7a04358 100644 --- a/export.c +++ b/export.c @@ -228,7 +228,11 @@ static int exportHTMLBody( if (error) return error; section->len--; } - return 0; + if (attached) { + return htmlAttachmentClose(file); + } else { + return 0; + } } else if (part->message.structure) { const struct BodyPart *structure = part->message.structure; |