thomascube
2009-07-13 afc6e4bd108525104b61a46f9973f8f8358c6dd2
program/include/rcube_string_replacer.php
@@ -74,7 +74,7 @@
    $i = -1;
    $scheme = strtolower($matches[1]);
    if (preg_match('!^(http||ftp|file)s?://!', $scheme)) {
    if (preg_match('!^(http|ftp|file)s?://!', $scheme)) {
      $url = $matches[1] . $matches[2];
      $i = $this->add(html::a(array('href' => $url, 'target' => '_blank'), Q($url)));
    }