From ae9fb6a4e580c1ef0ec87c7e40d77bdc234fa6f0 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 8 Jul 2008 21:04:15 -0400 Subject: PITS.00114: 'T USERNAME' should work like an @-link darcs-hash:20080709010415-7f4fe-943321fd9ad9df3890599fc1b3f99e97db16e43d.gz --- lib/util.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/util.php b/lib/util.php index 1e874e04b..ad3bc1038 100644 --- a/lib/util.php +++ b/lib/util.php @@ -595,6 +595,7 @@ function common_render_content($text, $notice) { $id = $notice->profile_id; $r = preg_replace('@https?://[^)\]>\s]+@', '\0', $r); $r = preg_replace('/(^|\s+)@([a-z0-9]{1,64})/e', "'\\1@'.common_at_link($id, '\\2')", $r); + $r = preg_replace('/^T ([A-Z0-9]{1,64}) /e', "'T '.common_at_link($id, '\\1').' '", $r); # XXX: # tags # XXX: machine tags return $r; -- cgit v1.2.3-54-g00ecf