summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-21 13:52:59 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-21 13:52:59 -0400
commita9613e999f0c55830269daaf0f76fddc6b26d329 (patch)
tree6b62158035459f3215704f7f80298b767e35d6a0
parentfbb0df9f5436e956c43ace372f625f08628c000f (diff)
Detect xmpp uri's and make them into hyperlinks
http://laconi.ca/trac/ticket/1592
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 9e8ec41d2..f23f10e2c 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -414,9 +414,9 @@ function common_replace_urls_callback($text, $callback, $notice_id = null) {
$regex = '#'.
'(?:'.
'(?:'.
- '(?:https?|ftps?|mms|rtsp|gopher|news|nntp|telnet|wais|file|prospero|webcal|xmpp|irc)://'.
+ '(?:https?|ftps?|mms|rtsp|gopher|news|nntp|telnet|wais|file|prospero|webcal|irc)://'.
'|'.
- '(?:mailto|aim|tel):'.
+ '(?:mailto|aim|tel|xmpp):'.
')'.
'[^.\s]+\.[^\s]+'.
'|'.