includes/bbcode.php line 625
new line hereCode:// matches an email@domain type address at the start of a line, or after a space. // Note: Only the followed chars are valid; alphanums, "-", "_" and or ".". $ret = preg_replace("#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret);Code:// cut link text to hostname $ret = preg_replace( "#(<a hr.+ank\">)[http|ftp]+[s]?://([a-z0-9\.]+)/.+#i", '\1\2</a>', $ret );isn't very pretty or robust but it retroactively fixes the width problem.Code:// Remove our padding.. $ret = substr($ret, 1); return($ret); }