diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 5033d89..9063678 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '129'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '130'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const App = (() => { diff --git a/backend/static/js/pages/events.js b/backend/static/js/pages/events.js index 333ab72..1ba328f 100644 --- a/backend/static/js/pages/events.js +++ b/backend/static/js/pages/events.js @@ -193,17 +193,17 @@ window.Page_events = (() => {
- ${UI.escHtml(ev.titel)} + ${UI.escape(ev.titel)} ${isVdh ? `VDH` : ''}
${typ.icon} ${typ.label} ${ev.uhrzeit ? `· ${_icon('clock')} ${ev.uhrzeit} Uhr` : ''} - ${ev.ort_name ? `· ${_icon('map-pin')} ${UI.escHtml(ev.ort_name)}` : ''} + ${ev.ort_name ? `· ${_icon('map-pin')} ${UI.escape(ev.ort_name)}` : ''}
${ev.rsvp_count ? `${_icon('users')} ${ev.rsvp_count} nehmen teil` : ''} ${ev.link ? `
- + ${_icon('arrow-square-out')} Details
` : ''} @@ -249,10 +249,10 @@ window.Page_events = (() => { }); const popup = `
- ${UI.escHtml(ev.titel)}
+ ${UI.escape(ev.titel)}
${datum}
- ${ev.ort_name ? `📍 ${UI.escHtml(ev.ort_name)}
` : ''} - ${ev.beschreibung ? `${UI.escHtml(ev.beschreibung.slice(0, 80))}${ev.beschreibung.length > 80 ? '…' : ''}
` : ''} + ${ev.ort_name ? `📍 ${UI.escape(ev.ort_name)}
` : ''} + ${ev.beschreibung ? `${UI.escape(ev.beschreibung.slice(0, 80))}${ev.beschreibung.length > 80 ? '…' : ''}
` : ''} Details
@@ -370,14 +370,14 @@ window.Page_events = (() => { ${isVdh ? `VDH` : ''}
${_icon('calendar-dots')} ${datum}${ev.uhrzeit ? ' · ' + ev.uhrzeit + ' Uhr' : ''}
- ${ev.ort_name ? `
${_icon('map-pin')} ${UI.escHtml(ev.ort_name)}
` : ''} - ${ev.beschreibung ? `
${UI.escHtml(ev.beschreibung)}
` : ''} + ${ev.ort_name ? `
${_icon('map-pin')} ${UI.escape(ev.ort_name)}
` : ''} + ${ev.beschreibung ? `
${UI.escape(ev.beschreibung)}
` : ''} ${ev.link ? `
${_icon('arrow-square-out')} - Mehr Infos + Mehr Infos
` : ''}
- ${_icon('user')} Veranstalter: ${UI.escHtml(ev.veranstalter_name || '–')} + ${_icon('user')} Veranstalter: ${UI.escape(ev.veranstalter_name || '–')}
${rsvpBar}
@@ -387,12 +387,12 @@ window.Page_events = (() => { ` : (ev.link ? ` - + ${_icon('arrow-square-out')} Zur Veranstaltung ` : ''); - UI.modal.open({ title: UI.escHtml(ev.titel), body, footer }); + UI.modal.open({ title: UI.escape(ev.titel), body, footer }); document.getElementById('ev-detail-edit')?.addEventListener('click', () => { UI.modal.close(); setTimeout(() => _openForm(ev), 50); @@ -465,7 +465,7 @@ window.Page_events = (() => { ${attendees.map(a => ` ${a.status === 'going' ? _icon('check-circle') : _icon('question')} - ${UI.escHtml(a.name)} + ${UI.escape(a.name)} `).join('')} `; @@ -496,7 +496,7 @@ window.Page_events = (() => {
- +
diff --git a/backend/static/sw.js b/backend/static/sw.js index 7296707..25c91ef 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v157'; +const CACHE_VERSION = 'by-v158'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten