aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-02 22:11:46 -0700
committerzotlabs <mike@macgirvin.com>2017-08-02 22:11:46 -0700
commitbee09a6d8bbfd0da650aeeb5081648aa1e6c45f6 (patch)
tree85221a6a86baff0dd0e378d10eb9b3cf87e8a9ab /Zotlabs/Module
parent9359f9fe4d77de392660c2bf6f1df8becc9fa6bf (diff)
downloadvolse-hubzilla-bee09a6d8bbfd0da650aeeb5081648aa1e6c45f6.tar.gz
volse-hubzilla-bee09a6d8bbfd0da650aeeb5081648aa1e6c45f6.tar.bz2
volse-hubzilla-bee09a6d8bbfd0da650aeeb5081648aa1e6c45f6.zip
minor activitypub rendering stuff
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Ap_probe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ap_probe.php b/Zotlabs/Module/Ap_probe.php
index f788fa73a..769cd4c4e 100644
--- a/Zotlabs/Module/Ap_probe.php
+++ b/Zotlabs/Module/Ap_probe.php
@@ -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;
}