minor activitypub rendering stuff

This commit is contained in:
zotlabs
2017-08-02 22:11:46 -07:00
parent 9359f9fe4d
commit bee09a6d8b
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class Ap_probe extends \Zotlabs\Web\Controller {
$redirects = 0;
$x = z_fetch_url($addr,true,$redirects, [ 'headers' => [ $headers ]]);
if($x['success'])
$o .= '<pre>' . str_replace('\\','',jindent($x['body'])) . '</pre>';
$o .= '<pre>' . str_replace(['\\n','\\'],["\n",''],jindent($x['body'])) . '</pre>';
}
return $o;
}