From 3c771e2ee24f0542a0664cd4cdd7b4ee05b5c05c Mon Sep 17 00:00:00 2001 From: Kim Delmar <62100831+KimDelmar@users.noreply.github.com> Date: Sun, 5 Feb 2023 22:06:03 +1100 Subject: [PATCH] html export: fix diveguide display Signed-off-by: Kim Delmar <62100831+KimDelmar@users.noreply.github.com> --- core/save-html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/save-html.c b/core/save-html.c index 80aa1f0bd..662f6c6df 100644 --- a/core/save-html.c +++ b/core/save-html.c @@ -370,7 +370,7 @@ static void write_one_dive(struct membuffer *b, struct dive *dive, const char *p put_HTML_watertemp(b, dive, "\"water\":\"", "\""); put_string(b, " },"); write_attribute(b, "buddy", dive->buddy, ", "); - write_attribute(b, "divemaster", dive->diveguide, ", "); + write_attribute(b, "diveguide", dive->diveguide, ", "); write_attribute(b, "suit", dive->suit, ", "); put_HTML_tags(b, dive, "\"tags\":", ","); if (!list_only) {