diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-29 13:16:04 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-29 13:16:04 -0400 |
commit | 96c04a541425e7d3b9a7c5932bd94f7b37b994a9 (patch) | |
tree | 56631d3f11515eda1a08e3240b14b2c4af1e223f /lib/util.php | |
parent | 9d9588a3deefbd908210ea3b47575e6d1e70939d (diff) |
loosen restrictions on names for atlinks
darcs-hash:20080529171604-84dde-63bf0f261fe340df7bfec22a0b64daf2ca42615e.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 4ed1a4afb..8b5ac7080 100644 --- a/lib/util.php +++ b/lib/util.php @@ -353,7 +353,7 @@ function common_render_content($text, $notice=NULL) { $r = htmlspecialchars($text); if ($notice) { $id = $notice->profile_id; - $r = preg_replace('/\b@([\w-]{1-64})\b/e', "@common_at_link($id, '\\1')", $r); + $r = preg_replace('/\b@([\w-]+)\b/e', "@common_at_link($id, '\\1')", $r); } # XXX: # tags # XXX: machine tags |