loosen restrictions on names for atlinks
darcs-hash:20080529171604-84dde-63bf0f261fe340df7bfec22a0b64daf2ca42615e.gz
This commit is contained in:
parent
9d9588a3de
commit
96c04a5414
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user