more debugging crap
darcs-hash:20080529172205-84dde-7f4fe045ae9bd93b501087a96dea61914f6eb05f.gz
This commit is contained in:
parent
56bf637176
commit
163e396467
@ -352,6 +352,7 @@ function common_canonical_email($email) {
|
||||
function common_render_content($text, $notice=NULL) {
|
||||
$r = htmlspecialchars($text);
|
||||
if ($notice) {
|
||||
print('Got a notice, checking for atlinks.');
|
||||
$id = $notice->profile_id;
|
||||
$r = preg_replace('/\b@([\w-]+)\b/e', "ATLINK*** \\1 ***", $r);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user