summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-29 14:13:21 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-29 14:13:21 -0400
commit792eb9ede21edb5ecbff93cbf0d8dd6f44bcd93e (patch)
tree2ab8bc49f902160eac7897d5174790cf7c91a172 /lib
parent58219416ca65a67ac4c63727a2c899c307448142 (diff)
remove url regex
darcs-hash:20080529181321-84dde-ed6ab6e839787cacc82681617b152106150839aa.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 20c8834c1..18b11f18b 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -355,7 +355,7 @@ function common_render_content($text, $notice) {
$r = htmlspecialchars($text);
$id = $notice->profile_id;
$r = preg_replace('/(^|\s)@([\w-]+)($|\s)/e', "'\\1@'.common_at_link($id, '\\2').'\\3'", $r);
- $r = preg_replace('/'.URL_REGEX.'/', '<a href="\\0" class="extlink">\\0</a>', $r);
+# $r = preg_replace('/'.URL_REGEX.'/', '<a href="\\0" class="extlink">\\0</a>', $r);
# XXX: # tags
# XXX: machine tags
return $r;