From: Evan Prodromou <evan@prodromou.name>
Date: Thu, 29 May 2008 18:13:21 +0000 (-0400)
Subject: remove url regex
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=792eb9ede21edb5ecbff93cbf0d8dd6f44bcd93e;p=quix0rs-gnu-social.git

remove url regex

darcs-hash:20080529181321-84dde-ed6ab6e839787cacc82681617b152106150839aa.gz
---

diff --git a/lib/util.php b/lib/util.php
index 20c8834c1b..18b11f18be 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;