X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=save-xml.c;h=6b08c95111977282169a6cef3a10bbe5384d02b7;hb=162b69828aa374f0bec24db58b05100afcb51b9a;hp=ed55c022d4bf971e1d10802cf38c5399830ea98d;hpb=81fddfa67e779c8d378eee4c57fd9f201e15f96f;p=ext%2Fsubsurface.git
diff --git a/save-xml.c b/save-xml.c
index ed55c02..6b08c95 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -97,6 +97,12 @@ static void quote(FILE *f, const char *text)
case '&':
escape = "&";
break;
+ case '\'':
+ escape = "'";
+ break;
+ case '\"':
+ escape = """;
+ break;
}
fwrite(text, (p - text - 1), 1, f);
if (!escape)
@@ -183,6 +189,7 @@ static void save_overview(FILE *f, struct dive *dive)
show_utf8(f, dive->divemaster, " ","\n");
show_utf8(f, dive->buddy, " ","\n");
show_utf8(f, dive->notes, " ","\n");
+ show_utf8(f, dive->suit, " ","\n");
}
static void save_cylinder_info(FILE *f, struct dive *dive)