From 1f232774ba17b4fc3a2f6998c559bb7dd3b4b97c Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 30 Dec 2006 16:34:33 +0000 Subject: [PATCH] XHTML fix --- e107_handlers/mail.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_handlers/mail.php b/e107_handlers/mail.php index 6acc82864..c214c2b18 100644 --- a/e107_handlers/mail.php +++ b/e107_handlers/mail.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $ -| $Revision: 1.2 $ -| $Date: 2006-12-19 10:03:31 $ -| $Author: e107coders $ +| $Revision: 1.3 $ +| $Date: 2006-12-30 16:33:39 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -96,7 +96,7 @@ function sendemail($send_to, $subject, $message, $to_name, $send_from, $from_nam $Html = preg_replace('%(http|ftp|https)(://\S+)%', '\1\2', $Html); $Html = preg_replace('/([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&\/\/=]+)/i', '\\1\\2', $Html); $Html = preg_replace('/([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3})/i', '\\1', $Html); - $Html = str_replace("\n", "
\n", $Html); + $Html = str_replace("\n", "
\n", $Html); } if (strpos($message,"") !== FALSE){ $text = strstr($message,"");