summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-15 23:02:00 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-15 23:02:00 -0400
commitf3409f4e7009016b94918bfe7779558426d3769e (patch)
tree58221a751843a6b93da843c581c287c4447b4795
parent1e9fabbfa330a202e8eaf961b033146eb27f4f9f (diff)
back out my change to the link format; see if it helps
darcs-hash:20080716030200-84dde-eaff2cdf00d9268594b5ecf7913a6746a516af62.gz
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 322d89b9d..e8ca52716 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -595,7 +595,7 @@ function common_render_content($text, $notice) {
$id = $notice->profile_id;
$r = preg_replace('@https?://[^)\]>\s]+@', '<a href="\0" class="extlink">\0</a>', $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, strtolower('\\1')).' '", $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;