|
${accommodationsHtml}${itemsHtml}
|
${escHtml(p)}
`).join('')} ${s.table ? `| ${escHtml(h)} | `).join('')}
|---|
| ${escHtml(cell)} | `).join('')}
${escHtml(tr('tours.dayRoute.endpointUnknown'))}
` : ''} ${tripMapHtml} ${daysHtml} ${pluginSectionsHtml} ` markdown.dispose() // Open in modal with srcdoc iframe (no URL loading = no X-Frame-Options issue) const overlay = document.createElement('div') overlay.id = 'pdf-preview-overlay' overlay.style.cssText = 'position:fixed;inset:0;background:rgba(0,0,0,0.7);z-index:9999;display:flex;align-items:center;justify-content:center;padding:8px;' overlay.onclick = (e) => { if (e.target === overlay) overlay.remove() } const card = document.createElement('div') card.style.cssText = 'width:100%;max-width:1000px;height:95vh;background:var(--bg-card);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,0.3);' const header = document.createElement('div') header.style.cssText = 'display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid var(--border-primary);flex-shrink:0;' header.innerHTML = `