From 2053f215e552ac1e87ad44f44157520378d41d0d Mon Sep 17 00:00:00 2001 From: Claude Code Date: Mon, 6 Apr 2026 19:51:42 +0200 Subject: [PATCH] fix: JS Syntax-Fehler im Kontaktformular behoben Mehrzeilige String-Literale durch korrekte \n Escape-Sequenzen ersetzt. Fehler verhinderte komplette JS-Ausfuehrung (Modal + Lagebild-Daten). Co-Authored-By: Claude Opus 4.6 (1M context) --- vorschau/js/app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/vorschau/js/app.js b/vorschau/js/app.js index 0f49bcf..3078ec3 100644 --- a/vorschau/js/app.js +++ b/vorschau/js/app.js @@ -360,12 +360,7 @@ function mdToHtml(md) { var msg = document.getElementById('cf-message').value; var subject = 'Anfrage von ' + name + (org ? ' (' + org + ')' : ''); - var body = 'Name: ' + name + ' -Organisation: ' + (org || '-') + ' -E-Mail: ' + email + ' - -Nachricht: -' + msg; + var body = 'Name: ' + name + '\nOrganisation: ' + (org || '-') + '\nE-Mail: ' + email + '\n\nNachricht:\n' + msg; window.location.href = 'mailto:info@aegis-sight.de?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(body);