about summary refs log tree commit diff
path: root/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'export.c')
-rw-r--r--export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/export.c b/export.c
index ef1d526..bebd524 100644
--- a/export.c
+++ b/export.c
@@ -260,7 +260,7 @@ static int exportHTMLBody(
 	} else if (part->message.structure) {
 		const struct BodyPart *structure = part->message.structure;
 		int error = 0
-			|| htmlMessageOpen(file, part->message.envelope)
+			|| htmlMessageOpen(file, part->message.envelope, true)
 			|| exportHTMLBody(file, envelope, section, structure, body)
 			|| htmlMessageClose(file);
 		return error;
@@ -284,7 +284,7 @@ static void exportHTML(
 	FILE *file = fopen(path, "w");
 	if (!file) err(EX_CANTCREAT, "%s", path);
 
-	int error = htmlMessageOpen(file, envelope);
+	int error = htmlMessageOpen(file, envelope, false);
 	if (error) err(EX_IOERR, "%s", path);
 
 	struct List section = {0};