case '&':
escape = "&";
break;
+ case '\'':
+ escape = "'";
+ break;
+ case '\"':
+ escape = """;
+ break;
}
fwrite(text, (p - text - 1), 1, f);
if (!escape)
show_utf8(f, dive->divemaster, " <divemaster>","</divemaster>\n");
show_utf8(f, dive->buddy, " <buddy>","</buddy>\n");
show_utf8(f, dive->notes, " <notes>","</notes>\n");
+ show_utf8(f, dive->suit, " <suit>","</suit>\n");
}
static void save_cylinder_info(FILE *f, struct dive *dive)