diff options
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index 3b2ee9d87..ee1a149a7 100644 --- a/lib/util.php +++ b/lib/util.php @@ -750,8 +750,8 @@ function common_render_uri_thingy($matches) { function common_shorten_links($text) { $r = htmlspecialchars($text); // \s = not a horizontal whitespace character (since PHP 5.2.4) -// $r = preg_replace('@[^*]https?://[^)\]>\s]+@e', "common_shorten_link('\\0')", $r); - $r = preg_replace('@https?://[^)\]>\s]+@e', "common_shorten_link('\\0')", $r); + $r = preg_replace('@[^*]https?://[^)\]>\s]+@e', "common_shorten_link('\\0')", $r); +// $r = preg_replace('@https?://[^)\]>\s]+@e', "common_shorten_link('\\0')", $r); return $r; } |