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) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
Claude Code
2026-04-06 19:51:42 +02:00
Ursprung fa36d7267d
Commit 2053f215e5

Datei anzeigen

@@ -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);