diff options
Diffstat (limited to 'subsurface-core/planner.c')
-rw-r--r-- | subsurface-core/planner.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subsurface-core/planner.c b/subsurface-core/planner.c index 9c8b9e952..db1460a5c 100644 --- a/subsurface-core/planner.c +++ b/subsurface-core/planner.c @@ -776,7 +776,8 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool lastsetpoint = dp->setpoint; lastentered = dp->entered; } while ((dp = nextdp) != NULL); - len += snprintf(buffer + len, sz_buffer - len, "</tbody></table></div>"); + if (!plan_verbatim) + len += snprintf(buffer + len, sz_buffer - len, "</tbody></table></div>"); dive->cns = 0; dive->maxcns = 0; |