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