#125_fehler_im_kontaktformular #126

Merged
muli merged 8 commits from #125_fehler_im_kontaktformular into main 2022-08-24 22:41:22 +02:00
Showing only changes of commit 7df4a24abd - Show all commits

View File

@ -16,7 +16,7 @@ function sanitize_text(string $name, string $type) {
function prepare_message_body($message) { function prepare_message_body($message) {
// Replace HTML-Entities with actual carriage returns and line feeds // Replace HTML-Entities with actual carriage returns and line feeds
$message = str_replace("
", "\r", $message); $message = str_replace("
", "\r", $message);
$message = str_replace("
", "\r", $message); $message = str_replace("
", "\n", $message);
// Ensure line breaks via carriage return + line feed // Ensure line breaks via carriage return + line feed
$message = str_replace("\r\n", "\n", $message); $message = str_replace("\r\n", "\n", $message);