From f16c6a9f5e24dccfc64c80f179cdef238074c62e Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 16 Mar 2006 02:55:58 +0000 Subject: [PATCH] Remove silly, redundant, misleading bit. --- web/lib/msgslib.ssjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/msgslib.ssjs b/web/lib/msgslib.ssjs index 6389d4e344..62dac55df7 100644 --- a/web/lib/msgslib.ssjs +++ b/web/lib/msgslib.ssjs @@ -183,8 +183,8 @@ function idx_to_user(fromidx) } function make_links(str) { - str=str.replace(/(?:http|https|ftp|telnet|gopher|irc|news):\/\/[\w\-\.]+\.[a-zA-Z]+(?::[\w]*)?(?:\/(?:[\w\-._\?\,\/\\\+&%\$#\=~\*]*))?/gi,function(str) { -// | Protocol |Hostname | Path | + str=str.replace(/(?:http|https|ftp|telnet|gopher|irc|news):\/\/[\w\-\.]+\.[a-zA-Z]+(?::[\w]*)?(?:\/(?:[\w\-._\?\,\/\\\+&;%\$#\=~\*]*))?/gi,function(str) { +// | Protocol |Hostname | Path | var ret='<a href="'+str+'" target="_blank">'+str+'</a>'; var m=str.match(/^(.*)(>|[,.\)])$/); if(m!=null) -- GitLab