Index: trunk/phase3/includes/search/SearchUpdate.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | "\\1\\2 \\2 \\2\\3", $text ); # Emphasize headings |
64 | 64 | |
65 | 65 | # Strip external URLs |
66 | | - $uc = "A-Za-z0-9_\\/:.,~%\\-+&;#?!=()@\\xA0-\\xFF"; |
| 66 | + $uc = "A-Za-z0-9_\\/:.,~%\\-+&;#?!=()@\\x80-\\xFF"; |
67 | 67 | $protos = "http|https|ftp|mailto|news|gopher"; |
68 | 68 | $pat = "/(^|[^\\[])({$protos}):[{$uc}]+([^{$uc}]|$)/"; |
69 | 69 | $text = preg_replace( $pat, "\\1 \\3", $text ); |