diff --git a/include/class.format.php b/include/class.format.php index f7b624d852b5dda8b6dc2e7eedf20a2ef13de5c3..a3461bf9d615c857382763c62b8ff49562352648 100644 --- a/include/class.format.php +++ b/include/class.format.php @@ -126,7 +126,7 @@ class Format { $text=preg_replace("/(^|[ \\n\\r\\t])(www\.([a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+)(\/[^\/ \\n\\r]*)*)/", '\\1<a href="l.php?url=http://\\2" target="_blank">\\2</a>', $text); $text=preg_replace("/(^|[ \\n\\r\\t])([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4})/", - '\\1<a href="l.php?url=mailto:\\2" target="_blank">\\2</a>', $text); + '\\1<a href="mailto:\\2" target="_blank">\\2</a>', $text); return $text; }