From abd02013b479f84f31d97b8b90b99efb443a3477 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 1 Sep 2008 19:10:23 +0000 Subject: Closes #305 git-svn-id: https://code.elgg.org/elgg/trunk@2051 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/input.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/input.php b/engine/lib/input.php index e5dd87801..2b72c5264 100644 --- a/engine/lib/input.php +++ b/engine/lib/input.php @@ -93,11 +93,11 @@ function parse_urls($text) { - if (preg_match_all('/(?"\'\!\(\)]+)/ie', $text, $urls)) { + if (preg_match_all('/(?"\'\!\(\)]+)/ie', $text, $urls)) { foreach (array_unique($urls[1]) AS $url){ $urltext = $url; - $text = str_replace($url, ''. elgg_echo("link:view") .'', $text); + $text = str_replace($url, ''. elgg_echo("link:view") .'', $text); } } -- cgit v1.2.3