Add debug capability to planner notes
The output it spits out can be copy-pasted into a html validator like: https://validator.w3.org/nu/#textarea Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
00c902d66c
commit
9935343ba1
@ -616,4 +616,7 @@ finished:
|
||||
mb_cstring(&buf);
|
||||
free(dive->notes);
|
||||
dive->notes = detach_buffer(&buf);
|
||||
#ifdef DEBUG_PLANNER_NOTES
|
||||
printf("<!DOCTYPE html>\n<html>\n\t<head><title>plannernotes</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/></head>\n\t<body>\n%s\t</body>\n</html>\n", dive->notes);
|
||||
#endif
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user