The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
refactor(pdf): call the markdown row directly
Mauricecd1e7d8fa8a3
diff --git a/client/src/components/PDF/TripPDF.tsx b/client/src/components/PDF/TripPDF.tsxindex 9f70f374e..4ce2abec4 100644--- a/client/src/components/PDF/TripPDF.tsx+++ b/client/src/components/PDF/TripPDF.tsx@@ -233,7 +233,6 @@ export async function downloadTripPDF({ trip, days, places, assignments: allStorconst loc = _locale || undefinedconst tr = _t || (k => k)const markdown = createPdfMarkdown()- const mdBlock = markdown.row// The store read is the fallback, not the source: a caller that forgets the// prop still prints the reader's own format instead of silently reverting.const is12h = (_timeFormat || useSettingsStore.getState().settings.time_format || '24h') === '12h'@@ -590,10 +589,10 @@ export async function downloadTripPDF({ trip, days, places, assignments: allStor</div>${place.address ? `<div class="info-row">${svgPin}<span class="info-text">${escHtml(place.address)}</span></div>` : ''}${(place.lat != null && place.lng != null) ? `<div class="info-row"><span class="info-spacer"></span><span class="info-text muted">${Number(place.lat).toFixed(5)}, ${Number(place.lng).toFixed(5)}</span></div>` : ''}- ${place.description ? mdBlock(place.description) : ''}+ ${place.description ? markdown.row(place.description) : ''}${chips ? `<div class="chips">${chips}</div>` : ''}- ${place.notes ? mdBlock(place.notes) : ''}- ${item.data.notes ? mdBlock(item.data.notes) : ''}+ ${place.notes ? markdown.row(place.notes) : ''}+ ${item.data.notes ? markdown.row(item.data.notes) : ''}</div></div>`}).join('')