program/include/rcmail_string_replacer.php
@@ -1,6 +1,6 @@ <?php /* /** +-----------------------------------------------------------------------+ | program/include/rcmail_string_replacer.php | | | @@ -41,6 +41,16 @@ { $href = $matches[1]; $suffix = $this->parse_url_brackets($href); $email = $href; if (strpos($email, '?')) { list($email,) = explode('?', $email); } // skip invalid emails if (!rcube_utils::check_email($email, false)) { return $matches[1]; } $i = $this->add(html::a(array( 'href' => 'mailto:' . $href,