summary refs log tree commit diff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index a8c344e..ff08357 100644
--- a/html.c
+++ b/html.c
@@ -175,10 +175,10 @@ int htmlMessageOpen(FILE *file, const struct Envelope *envelope) {
 
 static int htmlInlineAttrs(FILE *file, const struct BodyPart *part) {
 	const char *template = " [attr]=\"[value]\"";
-	if (part->id) {
+	if (part->contentID) {
 		struct Variable vars[] = {
 			{ "attr", "id" },
-			{ "value", part->id },
+			{ "value", part->contentID },
 			{0},
 		};
 		int error = templateRender(file, template, vars, escapeXML);