diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-02 22:11:46 -0700 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2017-08-03 22:01:49 +0200 |
commit | b4707705f15bda8c3bc4e21b7dd53ddcece69064 (patch) | |
tree | 5bcb29cf2a1f92891b13fb8a125dae27cd17ec55 /Zotlabs | |
parent | 05444f92f98967841bfde9a3a88115cc13d09a92 (diff) | |
download | volse-hubzilla-b4707705f15bda8c3bc4e21b7dd53ddcece69064.tar.gz volse-hubzilla-b4707705f15bda8c3bc4e21b7dd53ddcece69064.tar.bz2 volse-hubzilla-b4707705f15bda8c3bc4e21b7dd53ddcece69064.zip |
minor activitypub rendering stuff
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Ap_probe.php | 2 |
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; } |