preformat webfinger output

This commit is contained in:
Friendika 2011-06-27 18:13:44 -07:00
parent 29c57f7ad2
commit 4418cb4349

View file

@ -18,7 +18,9 @@ function webfinger_content(&$a) {
$res = webfinger($addr); $res = webfinger($addr);
else else
$res = lrdd($addr); $res = lrdd($addr);
$o .= '<pre>';
$o .= str_replace("\n",'<br />',print_r($res,true)); $o .= str_replace("\n",'<br />',print_r($res,true));
$o .= '</pre>';
} }
return $o; return $o;
} }