more debugging crap

darcs-hash:20080529172205-84dde-7f4fe045ae9bd93b501087a96dea61914f6eb05f.gz
This commit is contained in:
Evan Prodromou 2008-05-29 13:22:05 -04:00
parent 56bf637176
commit 163e396467

View File

@ -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);
}