minor activitypub rendering stuff

This commit is contained in:
zotlabs
2017-08-02 22:11:46 -07:00
committed by git-marijus
parent 05444f92f9
commit b4707705f1
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;
}